[#BloombergLP-bslmf-ArrayToPointer-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmf.adoc[bslmf]::ArrayToPointer :relfileprefix: ../../ :mrdocs: Meta‐function that converts an array type to a pointer type. == Synopsis Declared in `<bslmf_arraytopointer.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_TYPE> struct ArrayToPointer; ---- == Description This meta‐function provides a nested `Type` alias that is a pointer to the element type when the (template parameter) `t_TYPE` is an array, and is `t_TYPE` itself otherwise. CV‐qualifiers of the original type are retained. == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslmf/ArrayToPointer-0e/Type.adoc[`Type`] | This `typedef` is an alias for the pointer type corresponding to `t_TYPE` when `t_TYPE` is an array, and for `t_TYPE` otherwise. |=== == Specializations [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslmf/ArrayToPointer-0f.adoc[`ArrayToPointer<t_TYPE&>`] | This partial specialization of `ArrayToPointer` for lvalue references converts the referenced array type to a pointer type. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#