
On Thu, 02 Dec 2004 17:52:20 -0800, Eric Niebler wrote:
Victor A. Wagner Jr. wrote:
The program that causes this error used to compile (until a few days ago) I'm using the cvs HEAD
c:\boost\include\boost-1_32\boost\iterator\iterator_facade.hpp(326) : error C2664: 'boost::implicit_cast' : cannot convert parameter 1 from 'const std::string *__w64 ' to 'boost::mpl::identity::type' with [
T=boost::detail::operator_arrow_result,std::basic_string,std::allocator>::const_iterator,std::string>,std::string,boost::detail::minimum_category::type>::type,const std::string &>::value_type,boost::iterator_facade,std::basic_string,std::allocator>::const_iterator,std::string>,std::string,boost::detail::minimum_category::type>::type,const std::string &>::reference,boost::iterator_facade,std::basic_string,std::allocator>::const_iterator,std::string>,std::string,boost::detail::minimum_category::type>::type,const std::string &>::pointer>::type ] Conversion loses qualifiers
That's funny, I've spent the better part of today trying to track a similar issue down. My scenario doesn't involve date_time, however. It uses tokenizer directly (which is getting used indirectly in your case by date_time). But my scenario is complicated, and my efforts to find a simplier repro have failed.
Not a problem in date_time, but certainly a problem either in tokenizer or iterator (or possibly a compiler bug). I'm continuing to investigate.
I saw this error yesterday while fixing another date_time issue. The date_time code that triggered it uses the deprecated tokenizer char_delimiters_separator. (I was planning on fixing that today.) Could this be part of the problem? Bart