[#bsl-Pair_BslmaIdiom] = xref:bsl.adoc[bsl]::Pair_BslmaIdiom :relfileprefix: ../ :mrdocs: This component‐private meta‐function determines whether the specified `TYPE` template parameter takes a `bslma::Allocator*` constructor argument and, if so, whether that argument is at the end of the argument list or at the beginning of the argument list following an argument of type `bsl::allocator_arg_t`. This type derived from `bsl::integral_constant<int, N>` where `N` is the number of additional parameters required to pass an allocator to a constructor using the chosen idiom. == Synopsis Declared in `<bslstl_pair.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> struct Pair_BslmaIdiom : bsl::conditional<!BloombergLP::bslma::UsesBslmaAllocator<TYPE>::value, Pair_BslmaIdiomNone, bsl::conditional<BloombergLP::bslmf::UsesAllocatorArgT<TYPE>::value, Pair_BslmaIdiomAllocatorArgT, Pair_BslmaIdiomAtEnd>::type>::type ---- == Base Classes [cols="1,4"] |=== | Name| Description | `bsl::conditional<!BloombergLP::bslma::UsesBslmaAllocator<TYPE>::value, Pair_BslmaIdiomNone, bsl::conditional<BloombergLP::bslmf::UsesAllocatorArgT<TYPE>::value, Pair_BslmaIdiomAllocatorArgT, Pair_BslmaIdiomAtEnd>::type>::type` | |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#