This component-private struct is used to check whether an alternative given by (template parameter) t_TYPE is a potential match for an argument of a bsl::variant constructor or assignment operator that does not take an explicitly specified alternative type. The standard allows such conversion only when the declaration t_TYPE d_x[]= {expr}; is valid, where expr is the (forwarded) argument expression.
Declared in <bslstl_variant.h>
template<class t_TYPE>
struct Variant_ArrayHelper;
| Name | Description |
|---|---|
d_x | Array used to test narrowing conversions during overload resolution. |