forked from boostorg/core
Use same style of detection in pointer_traits and allocator_traits
This commit is contained in:
@ -24,7 +24,7 @@ class has_pointer_to {
|
||||
static char check(long);
|
||||
|
||||
public:
|
||||
static const bool value = sizeof(check<T>(0)) != 1;
|
||||
static const bool value = sizeof(check<T>(0)) > 1;
|
||||
};
|
||||
|
||||
struct P1 { };
|
||||
|
Reference in New Issue
Block a user