Fixed possible bug in is_empty for types that are not default constructible

[SVN r10965]
This commit is contained in:
John Maddock
2001-08-30 10:55:48 +00:00
parent 95e4b818c5
commit ac2c3977a4

View File

@@ -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