|
Boost Users : |
Subject: [Boost-users] noncopyable
From: Hicham Mouline (hicham_at_[hidden])
Date: 2008-12-04 11:12:45
AFAIU, deriving from boost::noncopyable disables _accidental_ object
copying.
Is it possible to implement a clone() const member function of the object
to _explicitly_ get a copy of the object?
Perhaps deriving boost::noncopyable makes it totally impossible to ever
get a copy of an object without resorting to byte copy.
Regards,
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net