[#BloombergLP-ball-ManagedAttributeSet-hash]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/ManagedAttributeSet.adoc[ManagedAttributeSet]::hash
:relfileprefix: ../../../
:mrdocs:

Return a hash value calculated from the specified `set` using the specified `size` as the number of slots&period; The hash value is guaranteed to be in the range `&lsqb;0 &period;&period; size &hyphen; 1&rsqb;`&period; The behavior is undefined unless `0 &lt; size`&period;

== Synopsis

Declared in `&lt;ball&lowbar;managedattributeset&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
hash(
    xref:BloombergLP/ball/ManagedAttributeSet.adoc[ManagedAttributeSet] const& set,
    int size);
----


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