[#bsl-add_cv-type]
= xref:bsl.adoc[bsl]::xref:bsl/add_cv.adoc[add&lowbar;cv]::type
:relfileprefix: ../../
:mrdocs:

Alias to `t&lowbar;TYPE` with top&hyphen;level `const` and `volatile` when applicable&period;

== Synopsis

Declared in `&lt;bslmf&lowbar;addcv&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
typedef add&lowbar;const&lt;add&lowbar;volatile&lt;t&lowbar;TYPE&gt;::type&gt;::type type;
----

== Description

This `typedef` is an alias to the (template parameter) `t&lowbar;TYPE` with a top&hyphen;level `const`&hyphen;qualifier and `volatile`&hyphen;qualifier added if `t&lowbar;TYPE` is not a reference type, nor a function type, nor already `const`&hyphen;qualified and `volatile`&hyphen;qualified at the top&hyphen;level&semi; otherwise, `type` is an alias to `t&lowbar;TYPE`&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
