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. | |
| Self & | operator= (Self const &) |
| Copy assignment does nothing. | |
| Self & | operator= (Self &&) |
| Move assignment does nothing. | |
Modification of std::optional that does not copy or move its content.