[#std-hash-05b]
= xref:std.adoc[std]::hash&lt;xref:folly/enable_std_hash_helper.adoc[folly::enable&lowbar;std&lowbar;hash&lowbar;helper&lt;folly::Optional&lt;T&gt;, remove&lowbar;const&lowbar;t&lt;T&gt;&gt;]&gt;
:relfileprefix: ../
:mrdocs:

Hash specialization enabling folly&colon;&colon;Optional in unordered containers&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class T&gt;
struct hash&lt;xref:folly/enable_std_hash_helper.adoc[folly::enable&lowbar;std&lowbar;hash&lowbar;helper&lt;folly::Optional&lt;T&gt;, remove&lowbar;const&lowbar;t&lt;T&gt;&gt;]&gt;;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:std/hash-05b/operator_call.adoc[`operator()`] 
| Computes the hash of an Optional&period;
|===



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