[#BloombergLP-bslstl-Variant_HasUniqueCVType-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::Variant_HasUniqueCVType :relfileprefix: ../../ :mrdocs: Determine whether `t_TYPE` occurs exactly once, ignoring cv‐quals. == Synopsis Declared in `<bslstl_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_TYPE, class t_VARIANT> struct Variant_HasUniqueCVType; ---- == Description This component‐private metafunction derives from `bsl::true_type` if (template parameter) `t_TYPE` occurs exactly once as an alternative of (template parameter) `t_VARIANT`, and `bsl::false_type` otherwise, where two types that differ only in top‐level cv‐qualification are considered to be the same. The primary template (used when `t_VARIANT` is not a `bsl::variant`) is not defined. == Specializations [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstl/Variant_HasUniqueCVType-0f.adoc[`Variant_HasUniqueCVType<t_TYPE, bsl::variant<t_HEAD, t_TAIL...>>`] | Determine whether `t_TYPE` occurs exactly once, ignoring cv‐quals. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#