mirror of
https://github.com/boostorg/core.git
synced 2025-07-29 20:37:22 +02:00
Fix test for enable_if_has_type
This commit is contained in:
@ -48,14 +48,14 @@ struct tester2<T, typename disable_if<is_arithmetic<T> >::type> {
|
||||
};
|
||||
|
||||
template <class T, class Enable = void>
|
||||
class tester3
|
||||
struct tester3
|
||||
{
|
||||
typedef T type;
|
||||
BOOST_STATIC_CONSTANT(bool, value = false);
|
||||
};
|
||||
|
||||
template <class T>
|
||||
class tester3<T, typename enable_if_has_type<typename T::value_type>::type>
|
||||
struct tester3<T, typename enable_if_has_type<typename T::value_type>::type>
|
||||
{
|
||||
typedef typename T::value_type type;
|
||||
BOOST_STATIC_CONSTANT(bool, value = true);
|
||||
|
Reference in New Issue
Block a user