Blaze  3.6
List of all members
blaze::NonCreatable Class Reference

Base class for non-creatable (static) classes.The NonCreatable class is intended to work as a base class for non-creatable classes, i.e. classes that cannot be instantiated and exclusively offer static functions/data. Both the standard as well as the copy constructor and the copy assignment operator are declared private and left undefinded in order to prohibit the instantiation of objects of derived classes.
. More...

#include <NonCreatable.h>

Inherited by blaze::Random< Type > [private].

Protected Member Functions

Constructors and copy assignment operator
 NonCreatable ()=delete
 Constructor (explicitly deleted)
 
 NonCreatable (const NonCreatable &)=delete
 Copy constructor (explicitly deleted)
 
NonCreatableoperator= (const NonCreatable &)=delete
 Copy assignment operator (explicitly deleted)
 

Detailed Description

Base class for non-creatable (static) classes.

The NonCreatable class is intended to work as a base class for non-creatable classes, i.e. classes that cannot be instantiated and exclusively offer static functions/data. Both the standard as well as the copy constructor and the copy assignment operator are declared private and left undefinded in order to prohibit the instantiation of objects of derived classes.
.

Note
It is not necessary to publicly derive from this class. It is sufficient to derive privately to prevent the instantiation of the derived class.
class A : private NonCreatable
{ ... };

The documentation for this class was generated from the following file: