Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2001-04-04 08:44:50


At 08:16 AM 4/4/2001, David Abrahams wrote:

>> It would apply to other smart pointers, too, wouldn't it? shared_ptr,
>> auto_ptr, etc?
>
>Of course.

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?

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk