|
Boost : |
Subject: Re: [boost] [move] will boost::rv work with types with virtual destructor?
From: DE (satan66613_at_[hidden])
Date: 2010-02-25 15:33:36
on 25.02.2010 at 22:35
Jeffrey Hellrung wrote :
> boost::rv<T> is never (and cannot be) instantiated. You only ever refer
> to references (for lack of better wording at the moment) to
> boost::rv<T>. It's purpose is really only to statically tag an object
> of type T as movable, yet still be able to access the object's member
> functions.
> So no, the lack of constructors and destructor is not a problem ;)
thanks for explanation
interesting approach
-- Pavel
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk