[#BloombergLP-ball-ManagedAttribute-hash] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/ManagedAttribute.adoc[ManagedAttribute]::hash :relfileprefix: ../../../ :mrdocs: Return a hash value calculated from the specified `attribute` using the specified `size` as the number of slots. The hash value is guaranteed to be in the range `[0 .. size ‐ 1]`. The behavior is undefined unless `0 < size`. == Synopsis Declared in `<ball_managedattribute.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int hash( xref:BloombergLP/ball/ManagedAttribute.adoc[ManagedAttribute] const& attribute, int size); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#