Sdílet prostřednictvím


hash – struktura (standardní knihovna C++)

Definuje členskou funkci, která vrací hodnotu, která je jedinečně určena Val. Členská funkce definuje funkci hash , která je vhodná pro mapování hodnot typu thread::id na rozdělení hodnot indexu.

Syntaxe

template <>
struct hash<thread::id> :
    public unary_function<thread::id, size_t>
{
    size_t operator()(thread::id Val) const;

};

Požadavky

Header:<thread>

Obor názvů: std

Viz také

Referenční informace k souborům hlaviček
<thread>
unary_function – struktura