Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2001-04-03 03:55:57

Shankar Sai <sai.shankar_at_b...> wrote:

> Why cant we have in the scoped_ptr class declaration:
> private:
> enum { val = sizeof(T) };
> and avoid the need for it everywhere? Or am i missing
> something?

I think this will prevent instantination of scoped_ptr on an incomplete type,
which is neccessary.


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