|
Boost : |
From: Giovanni Bajo (giovannibajo_at_[hidden])
Date: 2002-04-17 11:59:04
Hello,
Currently, I cannot instantiate a tuple<> that contains an element which is
not copyable (derived by boost::noncopyable, or whatever). I've given a look
at the code, and it seems that tuple<> internally uses the elements' copy
constructors within the default contstructor (basically, it copy-constructs
the elements with default-constructed temporaries). Could this behaviour be
modified somehow? It looks like an additional requisite for the contained
object forced only due to an implementation detail.
Giovanni Bajo
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk