Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
arene::base::non_constructible_dummy Class Reference

A special dummy class that cannot be constructed. It can be used as a substitute argument for copy/move constructors or assignment operators that should be deleted, or any other place where a type is required, but not desired. More...

Public Member Functions

 non_constructible_dummy ()=delete
 Not default constructible.
 
 non_constructible_dummy (non_constructible_dummy &&)=delete
 Not movable.
 
 non_constructible_dummy (non_constructible_dummy const &)=delete
 Not copyable.
 
 ~non_constructible_dummy ()=delete
 Not destructible.
 
auto operator= (non_constructible_dummy &&) -> non_constructible_dummy &=delete
 Not movable.
 
auto operator= (non_constructible_dummy const &) -> non_constructible_dummy &=delete
 Not copyable.
 

Detailed Description

A special dummy class that cannot be constructed. It can be used as a substitute argument for copy/move constructors or assignment operators that should be deleted, or any other place where a type is required, but not desired.

Constructor & Destructor Documentation

◆ non_constructible_dummy() [1/3]

arene::base::non_constructible_dummy::non_constructible_dummy ( )
explicitdelete

Not default constructible.

◆ non_constructible_dummy() [2/3]

arene::base::non_constructible_dummy::non_constructible_dummy ( non_constructible_dummy const & )
delete

Not copyable.

◆ non_constructible_dummy() [3/3]

arene::base::non_constructible_dummy::non_constructible_dummy ( non_constructible_dummy && )
delete

Not movable.

◆ ~non_constructible_dummy()

arene::base::non_constructible_dummy::~non_constructible_dummy ( )
delete

Not destructible.

Member Function Documentation

◆ operator=() [1/2]

auto arene::base::non_constructible_dummy::operator= ( non_constructible_dummy && ) -> non_constructible_dummy &=delete
delete

Not movable.

◆ operator=() [2/2]

auto arene::base::non_constructible_dummy::operator= ( non_constructible_dummy const & ) -> non_constructible_dummy &=delete
delete

Not copyable.


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