Questions tagged [noncopyable]

The boost::noncopyable class is used as a base class to make a C++ type unable to be copied or assigned. This tag is for the boost library utility noncopyable.

The boost::noncopyable class is used as a base class (usually private) to make a C++ type unable to be copied or assigned.

It is intended to be used as a private base. boost::noncopyable has private (under C++03) or deleted (under C++11) copy constructor and a copy assignment operator and can't be copied or assigned; a class that derives from it inherits these properties.

Use this tag is for the boost library utility noncopyable.

76 questions
0
votes
1 answer

Boost serialization - Serialize noncopyable but movable objects?

Is it possible somehow? It doesnt work out of the box since it tries to copy objects when the object gets unserialized Update 1: These objects are noncopyable just because they allocate memory, once it is allocated I dont see any reason to copy when…
kreuzerkrieg
  • 3,009
  • 3
  • 28
  • 59
1 2 3 4 5
6