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