Boost logo

Boost :

From: Vladimir.Batov_at_[hidden]
Date: 2007-10-31 16:52:42


> I've downloaded it, read the documentation, and I think it looks
promising.
>
> To test it out I'm converting a pimpled class in my code base to use
> your library. This class is noncopyable and as such it isn't immediately

> obvious to me whether the class should be modeled using the pimpl's
> value semantics, pointer semantics, or some other semantic that doesn't
> yet exist.
>
>
> Thanks,
>
> Michael Marcin

Achieving non-copyability seems as straightforward as

struct Foo : public pimpl<Foo>::pointer_semantics, boost::noncopyable
{
};

Thanks,
Vladimir.


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