[#std-hash-051] = xref:std.adoc[std]::hash<xref:folly/indirect-09.adoc[folly::indirect<T, Alloc>]> :relfileprefix: ../ :mrdocs: Hash specialization for `folly::indirect`. == Synopsis Declared in `<folly/Indirect.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename T, typename Alloc> requires requires(const T& t) { std::hash<T>{}(t); } struct hash<xref:folly/indirect-09.adoc[folly::indirect<T, Alloc>]>; ---- == Description Enabled only when `hash<T>` is enabled. Not guaranteed `noexcept` per spec. == Member Functions [cols="1,4"] |=== | Name| Description | xref:std/hash-051/operator_call.adoc[`operator()`] | Hashes a wrapper by its owned value. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#