Ticket #2755: compile error in boost_intrusive 1.38.0: a set of classes with protected destructor

[SVN r51290]
This commit is contained in:
Ion Gaztañaga
2009-02-17 17:03:10 +00:00
parent 6527f4eb72
commit e15d6b1cd9

View File

@@ -64,7 +64,7 @@ class is_convertible
class false_t { char dummy[2]; }; class false_t { char dummy[2]; };
static true_t dispatch(U); static true_t dispatch(U);
static false_t dispatch(...); static false_t dispatch(...);
static T trigger(); static const T &trigger();
public: public:
static const bool value = sizeof(dispatch(trigger())) == sizeof(true_t); static const bool value = sizeof(dispatch(trigger())) == sizeof(true_t);
}; };