
/usr/include/boost/algorithm/string/trim.hpp:366: instantiated from 'void boost::algorithm::trim(SequenceT&, const std::locale&) [with SequenceT = char*]' datad/datarequest.cpp:32: instantiated from here /usr/include/boost/algorithm/string/trim.hpp:121: error: request for member 'erase' in 'Input', which is of non-class type 'char*' .. I'm passing trim() a char * ... seems like that doesn't make it happy, though?

Hi, char* is not longer supported as a default range type by the range library. you can use const char* literals only. You can pass char* only if you convert it to a range using as_literal or as_array helpers, that are part of the range library. Best regards, Pavol. Michael Wieher wrote:
/usr/include/boost/algorithm/string/trim.hpp:366: instantiated from 'void boost::algorithm::trim(SequenceT&, const std::locale&) [with SequenceT = char*]' datad/datarequest.cpp:32: instantiated from here /usr/include/boost/algorithm/string/trim.hpp:121: error: request for member 'erase' in 'Input', which is of non-class type 'char*'
.. I'm passing trim() a char * ... seems like that doesn't make it happy, though? _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Michael Wieher
-
Pavol Droba