[#bsl-make_optional-00] = xref:bsl.adoc[bsl]::make_optional :relfileprefix: ../ :mrdocs: Return an `optional` object containing a `TYPE` object created by invoking a `bsl::optional` `in_place_t` constructor with the specified `arg` and `args` as the constructor arguments. If `t_TYPE` uses an allocator, the default allocator will be used for the `optional` object. This function can be called in constant expressions only if `t_TYPE` is not allocator‐aware. == Synopsis Declared in `<bslstl_optional.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_TYPE, class t_ARG, class... t_ARGS> constexpr xref:bsl/optional-072.adoc[optional<t_TYPE>] make_optional( t_ARG&& arg, t_ARGS&&... args); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#