Constructors
Synopses
Declared in <bslstl_optional.h>
Create an empty Optional_DataImp object.
Optional_DataImp() noexcept;
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);
Parameters
Name |
Description |
tag |
tag selecting this constructor overload |
invocable |
callable invoked to produce the contained value |
arg |
argument forwarded to construct the contained value |
Created with MrDocs