10 :
public std::optional<T>
13 using Super = std::optional<T>;
Modification of std::optional that does not copy or move its content.
Definition: OptionalNoCopy.hpp:11
OptionalNoCopy(Self &&)
Move constructor discards the stored optional value.
Definition: OptionalNoCopy.hpp:24
OptionalNoCopy(Self const &)
Copy constructor discards the stored optional value.
Definition: OptionalNoCopy.hpp:19
Self & operator=(Self const &)
Copy assignment does nothing.
Definition: OptionalNoCopy.hpp:29
Self & operator=(Self &&)
Move assignment does nothing.
Definition: OptionalNoCopy.hpp:35