Constructors
Declared in <bslstl_optional.h>
Create an empty Optional_DataImp object.
Optional_DataImp() noexcept;
» more...
Create an Optional_DataImp object, which contains the result of invocation of the specified invocable with the specified arg.
template<
class t_INVOCABLE,
class t_ARG>
Optional_DataImp(
Optional_InvokeConstructorTag tag,
t_INVOCABLE&& invocable,
t_ARG&& arg);
» more...
| Name | Description |
|---|---|
| tag | tag selecting this constructor overload |
| invocable | callable invoked to produce the contained value |
| arg | argument forwarded to construct the contained value |