
Pavol Droba writes:
Hi,
After merging the new MPL version, an error popped out in vc7 tests of string_algo lib.
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