From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2004-03-12 05:55:22
First of all, the std::string of VisualAge is compatible with the
standard (It seems like vacpp uses the Dinkum library BTW).
So why algorithm/string/replace fails is a mystery to me. I tried to
understand the code to see what't wrong but I don't really grasp the
details of the implementation. For instance, where is
'has_native_replace_tester' defined ?
As a side remark, I wonder if declaring BOOST_STATIC_CONSTANT( bool, ...
) is legal C++. Paragraph 5.19.1 of the standard only talks about
integral types and enums. However I did a small test like this
BOOST_STATIC_CONSTANT(bool, value = 3 ) ;
itn v = A::value ;
std::cout << v << std::endl ;
And it compiles and gives the output '3' (although I would expect the
boolean to int conversion to result in '1' instead of 3. But this is
probably due to the 'enum-trick' in BOOST_STATIC_CONSTANT which might
also be a cause for your test to fail.
> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]] On Behalf Of Pavol Droba
> Sent: Friday, March 12, 2004 10:42 AM
> To: Boost mailing list
> Subject: [boost] metrowerks & vacpp
> I need somebody, that can help me out with a problem with
> codewarior and/or vacpp. Regressions are failing on these
> compilers due to incorrect classification of std::string and
> std::list. It seems, that the template signature for classes
> differs from
> standatard ( std::list<T,Alloct> ) and so, the
> sequence_traits are not recognizing these classes.
> Please, if somebody have an access to these compilers, check
> the singnature of them, and send it on the list. There might
> be another porblem as well, but I cannot figure it out right now.
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/bo> ost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk