ACE_Copy_Disabled Class ReferenceHelper class to disable copy construction and assignment. More...
Inheritance diagram for ACE_Copy_Disabled:
![]()
Detailed DescriptionHelper class to disable copy construction and assignment.Classes used to control OS and other resources are not "canonical", i.e. they have their copy constructor and assignment operators disabled. This is often done by making the copy constructor and assignment operators private, effectively disallowing copying by clients of the class (including derived classes). If the copy constructor and assingment operators are left unimplemented then the class itself cannot make any copies of its instances, because it would result in link errors. To use this class simply use private inheritance: class Foo : private ACE_Copy_Disabled { // code here }; Constructor & Destructor Documentation
Default constructor.
Member Function Documentation
The documentation for this class was generated from the following file: Generated on Mon Sep 15 07:14:42 2008 for ACE by ![]() |