From: David Rodríguez Ibeas (dibeas_at_[hidden])
Date: 2008-02-14 04:41:45
Consider using boost::ref or boost::cref (constant version).
On Thu, Feb 7, 2008 at 4:38 AM, Stjepan Rajko <stipe_at_[hidden]> wrote:
> In trying to use noncopyable types in a fusion vector I realized I
> can't - GCC 4.0.1 complained about, e.g.:
> fusion::vector<boost::signal<void()> > test;
> // error: 'boost::noncopyable_::noncopyable::noncopyable(const
> boost::noncopyable_::noncopyable&)' is private
> A related question was asked before by Michael Marcin but I didn't
> find a response:
> Is there a way to make vector (or any other sequence container) hold
> noncopyable types, or do I need to implement a noncopyable_vector?
> Thanks for any suggestions!
> Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk