mirror of
https://github.com/boostorg/intrusive.git
synced 2025-08-03 14:34:44 +02:00
Ticket #2755: compile error in boost_intrusive 1.38.0: a set of classes with protected destructor
[SVN r51290]
This commit is contained in:
@@ -64,7 +64,7 @@ class is_convertible
|
||||
class false_t { char dummy[2]; };
|
||||
static true_t dispatch(U);
|
||||
static false_t dispatch(...);
|
||||
static T trigger();
|
||||
static const T &trigger();
|
||||
public:
|
||||
static const bool value = sizeof(dispatch(trigger())) == sizeof(true_t);
|
||||
};
|
||||
|
Reference in New Issue
Block a user