[Boost-bugs] [Boost C++ Libraries] #6453: Compile error due to `deduce_char_traits` ambiguity

Subject: [Boost-bugs] [Boost C++ Libraries] #6453: Compile error due to `deduce_char_traits` ambiguity
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-26 17:24:16


#6453: Compile error due to `deduce_char_traits` ambiguity
------------------------------------------------+---------------------------
 Reporter: Michel Morin <mimomorin@…> | Owner: nasonov
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: lexical_cast
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
------------------------------------------------+---------------------------
 The following code fails to compile due to `deduce_char_traits` ambiguity:

 {{{
 #include <iostream>
 #include <string>

 #include <boost/container/string.hpp>
 #include <boost/lexical_cast.hpp>

 int main (int argc, char* argv[])
 {
     std::string str;
     boost::container::string str_;

     std::cout << boost::lexical_cast<std::string>(str_) << std::endl;

     return 0;
 }
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6453>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC