[#absl-enable_if_t]
= xref:absl.adoc[absl]::enable&lowbar;if&lowbar;t
:relfileprefix: ../
:mrdocs:

Deprecated alias for `std&colon;&colon;enable&lowbar;if&lowbar;t`&period; Prefer the std version directly&period; Avoid inlining since the inliner cannot handle default arguments well&period;

== Synopsis

Declared in `&lt;absl&sol;meta&sol;type&lowbar;traits&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    bool C,
    class T = void&gt;
using enable&lowbar;if&lowbar;t &lsqb;&lsqb;deprecated(&quot;Use std&colon;&colon;enable&lowbar;if&lowbar;t instead&period;&quot;)&rsqb;&rsqb; = T;
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]: Use std&colon;&colon;enable&lowbar;if&lowbar;t instead&period;. Use of this entity is allowed but discouraged.
====

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