> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/holoscan/sdk-user-guide/llms.txt.
> For full documentation content, see https://docs.nvidia.com/holoscan/sdk-user-guide/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/holoscan/sdk-user-guide/_mcp/server.

# std::hash< pair< A, B > >

> Hash specialization for std::pair.

```cpp showLineNumbers={false}
template <class A, class B>
struct hash< pair< A, B > >
```

Hash specialization for std::pair.

```cpp showLineNumbers={false}
#include <std/pose_tree.hpp>
```

**Template parameters**

First type in the pair.

Second type in the pair.

***

## Methods

### operator() \[#operator\_call]

```cpp showLineNumbers={false}
size_t std::hash<pair<A, B>>::operator()(
    const pair<A, B> &p
) const
```

Compute hash value for a pair.

**Returns:** Hash value.

**Parameters**

The pair to hash.