object_traits.hpp:

- Stateless types must be empty


[SVN r12564]
This commit is contained in:
Douglas Gregor
2002-01-30 03:39:17 +00:00
parent b270745d4a
commit 82c8d15179

View File

@ -393,7 +393,8 @@ struct is_stateless
::boost::has_trivial_constructor<T>::value,
::boost::has_trivial_copy<T>::value,
::boost::has_trivial_destructor<T>::value,
::boost::is_class<T>::value
::boost::is_class<T>::value,
::boost::is_empty<T>::value
>::value));
};