FIxes #6453 (compile error due to deduce_char_traits ambiguity)

[SVN r76818]
This commit is contained in:
Antony Polukhin
2012-02-01 04:25:21 +00:00
parent 132663404b
commit c9863cd254

View File

@@ -324,6 +324,24 @@ namespace boost
{
typedef Traits type;
};
template<class CharT, class Traits, class Alloc1, class Alloc2>
struct deduce_char_traits< CharT
, ::boost::container::basic_string<CharT,Traits,Alloc1>
, std::basic_string<CharT,Traits,Alloc2>
>
{
typedef Traits type;
};
template<class CharT, class Traits, class Alloc1, class Alloc2>
struct deduce_char_traits< CharT
, std::basic_string<CharT,Traits,Alloc1>
, ::boost::container::basic_string<CharT,Traits,Alloc2>
>
{
typedef Traits type;
};
#endif
}