Boost logo

Boost Users :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2005-06-06 12:10:42


...
>> but it couldn't pass the compile, error was:
>> [C++ Error] trim.hpp(233): E2285 Could not find a match for
>> 'detail::trim_end(undefined,undefined,detail::is_classifiedF)'
>> [C++ Error] trim.hpp(126): E2285 Could not find a match for
>> 'detail::trim_begin(undefined,undefined,detail::is_classifiedF)'
>>
...
> I'm not sure what the problem could be. But it seems like some bug in a
> compiler.
>
> So my first question is: What compiler do you use?
>
BCB. I checked and it fails with 6.4 (the latest).

More details are bellow.

/Pavel

[C++ Error] trim.hpp(233): E2285 Could not find a match for
'detail::trim_end<ForwardIteratorT,PredicateT>(undefined,undefined,detail::is_classifiedF)'
  Full parser context
    trim.hpp(228): decision to instantiate: void void
trim_right_if<_STL::string,detail::is_classifiedF>(_STL::string
&,detail::is_classifiedF)
    --- Resetting parser context for instantiation...
    Unit1.cpp(9): #include C:\boost\boost_1_33_0\boost/algorithm/string.hpp
    string.hpp(18): #include
C:\boost\boost_1_33_0\boost/algorithm/string/trim.hpp
    trim.hpp(35): namespace boost
    trim.hpp(36): namespace algorithm
    trim.hpp(228): parsing: void void
trim_right_if<_STL::string,detail::is_classifiedF>(_STL::string
&,detail::is_classifiedF)
[C++ Error] trim.hpp(126): E2285 Could not find a match for
'detail::trim_begin<ForwardIteratorT,PredicateT>(undefined,undefined,detail::is_classifiedF)'
  Full parser context
    trim.hpp(120): decision to instantiate: void void
trim_left_if<_STL::string,detail::is_classifiedF>(_STL::string
&,detail::is_classifiedF)
    --- Resetting parser context for instantiation...
    Unit1.cpp(9): #include C:\boost\boost_1_33_0\boost/algorithm/string.hpp
    string.hpp(18): #include
C:\boost\boost_1_33_0\boost/algorithm/string/trim.hpp
    trim.hpp(35): namespace boost
    trim.hpp(36): namespace algorithm
    trim.hpp(120): parsing: void void
trim_left_if<_STL::string,detail::is_classifiedF>(_STL::string
&,detail::is_classifiedF)


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net