Template Function TRAP::MakeOptional(std::initializer_list<U>, Args&&…)#
Function Documentation#
-
template<typename T, typename U, typename ...Args>
constexpr auto TRAP::MakeOptional(std::initializer_list<U> il, Args&&... args)# Creates an optional object constructed in-place from il and args….
- Parameters:
il – Arguments to be passed to the constructor of T.
args – Arguments to be passed to the constructor of T.
- Returns:
The constructed optional object.