See the first get overload above.
Synopsis
Declared in <bslstl_variant.h>
template<
class t_TYPE,
class t_HEAD,
class... t_TAIL>
t_TYPE const&&
get(variant<t_HEAD, t_TAIL...> const&& obj);
Return Value
const rvalue reference to the alternative of type t_TYPE
Parameters
Name |
Description |
obj |
variant whose alternative is accessed |
Created with MrDocs