CVB++ 14.1
_doc_get_i_ts Class Reference

Gets the value of the given Shims::variant var as the alternative with index I. More...

#include <variant.hpp>

Detailed Description

Gets the value of the given Shims::variant var as the alternative with index I.

Template Parameters
IIndex of alternative to extract.
Parameters
[in]varVariant to get the value of.
Returns
The value in var.
Exceptions
bad_variant_accessthrown if I is unequal variant::index().