Boost logo

Boost :

From: Victor A. Wagner Jr. (vawjr_at_[hidden])
Date: 2004-12-02 20:35:55


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
         c:\boost\include\boost-1_32\boost\iterator\iterator_facade.hpp(325)
: while compiling class-template member function
'boost::detail::operator_arrow_result::type
boost::detail::operator_arrow_result::make(Reference)'
         with
         [
             ValueType=boost::iterator_facade,std::basic_string,std::allocator>::const_iterator,std::string>,std::string,boost::detail::minimum_category::type>::type,const
std::string &>::value_type,
             Reference=boost::iterator_facade,std::basic_string,std::allocator>::const_iterator,std::string>,std::string,boost::detail::minimum_category::type>::type,const
std::string &>::reference,
             Pointer=boost::iterator_facade,std::basic_string,std::allocator>::const_iterator,std::string>,std::string,boost::detail::minimum_category::type>::type,const
std::string &>::pointer
         ]
         c:\boost\include\boost-1_32\boost\iterator\iterator_facade.hpp(642)
: see reference to class template instantiation
'boost::detail::operator_arrow_result' being compiled
         with
         [
             ValueType=boost::iterator_facade,std::basic_string,std::allocator>::const_iterator,std::string>,std::string,boost::detail::minimum_category::type>::type,const
std::string &>::va
lue_type,
             Reference=boost::iterator_facade,std::basic_string,std::allocator>::const_iterator,std::string>,std::string,boost::detail::minimum_category::type>::type,const
std::string &>::reference,
             Pointer=boost::iterator_facade,std::basic_string,std::allocator>::const_iterator,std::string>,std::string,boost::detail::minimum_category::type>::type,const
std::string &>::pointer
         ]
         c:\boost\include\boost-1_32\boost\token_iterator.hpp(41) : see
reference to class template instantiation 'boost::iterator_facade' being
compiled
         with
         [
             Derived=boost::token_iterator,std::basic_string,std::allocator>::const_iterator,std::string>,
             Value=std::string,
             CategoryOrTraversal=boost::detail::minimum_category::type>::type,
             Reference=const std::string &
         ]
         c:\boost\include\boost-1_32\boost\date_time\date_parsing.hpp(119)
: see reference to class template instantiation 'boost::token_iterator'
being compiled
         with
         [
             TokenizerFunc=boost::char_delimiters_separator,
             Iterator=std::basic_string,std::allocator>::const_iterator,
             Type=std::string
         ]
         c:\boost\include\boost-1_32\boost\date_time\gregorian\parsers.hpp(24)
: see reference to function template instantiation 'date_type
boost::date_time::parse_date(const std::string &,int)' being compiled
         with
         [
             date_type=boost::gregorian::date
         ]

Victor A. Wagner Jr. http://rudbek.com
The five most dangerous words in the English language:
               "There oughta be a law"


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