Boost logo

Boost :

From: scleary_at_[hidden]
Date: 2001-04-04 09:08:23

> From: Beman Dawes [mailto:bdawes_at_[hidden]]
> What should the actual code to look like? My first try would was:
> BOOST_STATIC_ASSERT( boost::is_complete<T>::value );
> But boost/type_traits.hpp doesn't have an is_complete<T>.
> Has that ever been discussed?

I don't see how you can *test* for completeness; only *force* it:
  template <typename T>
  struct force_complete
  { BOOST_STATIC_VALUE( value = sizeof(T) ); };


Boost list run by bdawes at, gregod at, cpdaniel at, john at