mirror of
https://github.com/boostorg/conversion.git
synced 2025-08-03 14:34:33 +02:00
FIxes #6453 (compile error due to deduce_char_traits ambiguity)
[SVN r76818]
This commit is contained in:
@@ -324,6 +324,24 @@ namespace boost
|
|||||||
{
|
{
|
||||||
typedef Traits type;
|
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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user