AMDiS 2.10
The Adaptive Multi-Dimensional Simulation Toolbox
OptionalNoCopy< T > Class Template Reference

Modification of std::optional that does not copy or move its content. More...

#include <OptionalNoCopy.hpp>

Inherits optional< T >.

Public Member Functions

 OptionalNoCopy (Self const &)
 Copy constructor discards the stored optional value.
 
 OptionalNoCopy (Self &&)
 Move constructor discards the stored optional value.
 
Selfoperator= (Self const &)
 Copy assignment does nothing.
 
Selfoperator= (Self &&)
 Move assignment does nothing.
 

Detailed Description

template<class T>
class AMDiS::OptionalNoCopy< T >

Modification of std::optional that does not copy or move its content.


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