[#std-hash-055]
= xref:std.adoc[std]::hash&lt;std::pair&lt;T1, T2&gt;&gt;
:relfileprefix: ../
:mrdocs:

std&colon;&colon;hash specialization for std&colon;&colon;pair&period;

== Synopsis

Declared in `&lt;folly&sol;hash&sol;Hash&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename T1,
    typename T2&gt;
struct hash&lt;std::pair&lt;T1, T2&gt;&gt;;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:std/hash-055/folly_is_avalanching.adoc[`folly&lowbar;is&lowbar;avalanching`] 
| Marks this hash as producing well&hyphen;distributed (avalanching) values&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:std/hash-055/operator_call.adoc[`operator()`] 
| Hash the pair by combining the hashes of its elements&period;
|===



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