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] regression test tools ported to vacpp
by Vladimir Prus other posts by this author
Jun 9 2004 8:58AM messages near this date
Re: [boost] regression test tools ported to vacpp | Re: [boost] Re: boost::any question
Toon Knapen wrote:

>  in concertation with Peter Dimov I just commented out the overload and
>  this seems to work.
> 
>  Peter predicted that bind_const_test would not work anymore due to this
>  change but it seems to me that it does work. Well anyway, I have to
>  regenerate the status pages to be sure (I'll launch the update shortly)

The results I see now show that only two program_options tests fail, which is 
quite nice. I have a question about the remaining failures.

The error message is:

"../libs/program_options/test/variable_map_test.cpp", line 59.35: 1540-0157 
(S) The text "> " is unexpected.  It may be that this token was intended as a 
template argument list terminator but the name is not known to be a template.

The line in question is:

    BOOST_TEST(vm["foo"].as<string> () == "'12'");

That line should access variables_map instance and get an instances of 
'variable_value' class (defined in boost/program_options/variables_map.hpp). 
Finally, template function 'as' is called. Apparently, vacpp does not believe 
'as' to be a template. Do you have any ideas? I don't expect that a 
workaround is possible, so this part of library will be unsuable, but maybe 
you can at least bug compiler developers.

- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Toon Knapen
Vladimir Prus

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