forked from boostorg/type_traits
Fixed possible bug in is_empty for types that are not default constructible
[SVN r10965]
This commit is contained in:
@@ -223,9 +223,9 @@ namespace detail{
|
||||
template <typename T>
|
||||
struct empty_helper_t1 : public T
|
||||
{
|
||||
#ifdef __MWERKS__
|
||||
//#ifdef __MWERKS__
|
||||
empty_helper_t1(); // hh compiler bug workaround
|
||||
#endif
|
||||
//#endif
|
||||
int i[256];
|
||||
};
|
||||
struct empty_helper_t2 { int i[256]; };
|
||||
@@ -348,3 +348,4 @@ template <typename T> struct is_empty
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user