Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2004-09-07 07:20:12


Pavol Droba writes:
> Hi,
>
> After merging the new MPL version, an error popped out in vc7 tests of
> string_algo lib.
>
> http://tinyurl.com/3t6zc
>
> It seems that std::distance is conflicting with something else. I'm using both
> "using namespace std;" and "using namespace boost;" in the tests.

Pavol,

I don't see anything MPL-related in the output from the link above:

find_test.cpp
..\libs\algorithm\string\test\find_test.cpp(52) : error C2275: 'std::basic_string<_Elem,_Traits,_Ax>::const_iterator' : illegal use
of this type as an expression
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Ax=std::allocator<char>
        ]
..\libs\algorithm\string\test\find_test.cpp(57) : error C2275: 'std::basic_string<_Elem,_Traits,_Ax>::const_iterator' : illegal use
of this type as an expression
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Ax=std::allocator<char>
        ]

[...]

Did the errors you've talked about go away, or am I missing something?

--
Aleksey Gurtovoy
MetaCommunications Engineering

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk