[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost
Subject:    Re: [boost] [pimpl] Proposal. Determining interest.
From:       Vladimir.Batov () wrsa ! com ! au
Date:       2007-10-31 20:52:42
Message-ID: OF2B9EBDA1.EA1958BB-ONCA257385.00728743-CA257385.0072AA6C () wrsl ! com
[Download RAW message or body]

> 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.

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic