ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> boost
boost
Re: [boost] boost::bind(f, ...) alternative syntax now in CVS
by Peter Dimov other posts by this author
Oct 15 2002 1:03PM messages near this date
[boost] boost::bind(f, ...) alternative syntax now in CVS | Re: [boost] boost::bind(f, ...) alternative syntax now in CVS
From: "David Abrahams" <dave@[...].com> 
>  "Peter Dimov" <pdimov@[...].net> writes:
> 
>  > Bind now supports an alternative syntax that creates fewer problems with
>  > MSVC 6/7. Instead of
>  >
>  > boost::bind<R>(f, ...)
>  >
>  > you can now use
>  >
>  > boost::bind(boost::type<R>(), f, ...)
> 
>  Specifically, any use of explicitly-specified function template
>  arguments will cause MSVC6 (and 7?) to "reserve" the name of the
>  function template, so that it cannot be used in another namespace to
>  define a class template, e.g.: [...]

Actually I believe it's the other way around, the class template "reserves"
the name, and it cannot be used in a function call with explicitly specified
template arguments. Either way, it breaks. :-) (Yes, the bug is in MSVC 7,
too.)

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Peter Dimov
Peter Dimov
David Abrahams

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved