
Sebastian Redl wrote:
On 18.10.2010 12:22, mloskot wrote:
mloskot wrote:
Hi,
What is recommended or required policy regarding copy operations for types which consist of const data members, within Boost?
I'm having problem with understanding why the xml_writer_settings class do not have the copying operations disabled.
Why would it? There's nothing semantically wrong with copying a settings object. It's just not very useful.
Looking at the current definition [1], I'm not convinced. According to C++(n3092)/12.8/25, assignment operator for this class is defined as deleted due to "non-static data members of const non-class type". [1] https://svn.boost.org/trac/boost/browser/trunk/boost/property_tree/detail/xm... Best reagards, ----- -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org -- View this message in context: http://boost.2283326.n4.nabble.com/property-tree-Copy-constructor-and-assign... Sent from the Boost - Dev mailing list archive at Nabble.com.