mirror of
https://github.com/boostorg/type_traits.git
synced 2025-08-03 14:34:34 +02:00
Modified function test overloads so as not to produce ambiguities with some compilers.
[SVN r16049]
This commit is contained in:
@@ -107,8 +107,8 @@ struct is_convertible_impl
|
||||
|
||||
struct any_conversion
|
||||
{
|
||||
template <typename T> any_conversion(const T&);
|
||||
template <typename T> any_conversion(T&);
|
||||
template <typename T> any_conversion(const volatile T&);
|
||||
//template <typename T> any_conversion(T&);
|
||||
};
|
||||
|
||||
template <typename T> struct checker
|
||||
@@ -129,8 +129,8 @@ struct is_convertible_impl
|
||||
|
||||
struct any_conversion
|
||||
{
|
||||
template <typename T> any_conversion(const T&);
|
||||
template <typename T> any_conversion(T&);
|
||||
template <typename T> any_conversion(const volatile T&);
|
||||
//template <typename T> any_conversion(T&);
|
||||
};
|
||||
|
||||
template <typename From, typename To>
|
||||
|
Reference in New Issue
Block a user