[#std-hash-051]
= xref:std.adoc[std]::hash&lt;xref:folly/indirect-09.adoc[folly::indirect&lt;T, Alloc&gt;]&gt;
:relfileprefix: ../
:mrdocs:

Hash specialization for `folly&colon;&colon;indirect`&period;

== Synopsis

Declared in `&lt;folly&sol;Indirect&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename T,
    typename Alloc&gt;
requires requires(const T&amp; t) &lcub; std&colon;&colon;hash&lt;T&gt;&lcub;&rcub;(t)&semi; &rcub;
struct hash&lt;xref:folly/indirect-09.adoc[folly::indirect&lt;T, Alloc&gt;]&gt;;
----

== Description

Enabled only when `hash&lt;T&gt;` is enabled&period; Not guaranteed `noexcept` per spec&period;

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:std/hash-051/operator_call.adoc[`operator()`] 
| Hashes a wrapper by its owned value&period;
|===



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