forked from boostorg/type_traits
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