Boost logo

Boost Users :

Subject: [Boost-users] [lexical_cast] fails to convert between basic_strings with different traits
From: Paul Graphov (graphov_at_[hidden])
Date: 2010-11-01 08:12:05


Hello Boost Users,

boost::lexical_cast fails to compile when both Target and Source template
parameters are
std::basic_string instantiations with different traits because
deduce_char_traits
class template has two suitable instantiations which are ambiguous.

This is example where I use custom basic_string that is case insensitive:
http://pastebin.com/jGF0yN2m

Thanks.



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