---
name: "__gnu_pbds::detail::stored_data"
section: "3cxx"
platform: "linux"
package: "libstdc++-12-doc"
version: "12.4.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_pbds::detail::stored_data/3cxx"
---

# \_\_gnu\_pbds::detail::stored\_data(3cxx)

Primary template for representation of stored data. Two types of data can be stored: value and hash.

## NAME

\_\_gnu\_pbds::detail::stored\_data\< \_Tv, \_Th, Store\_Hash \> - Primary template for representation of stored data. Two types of data can be stored: value and hash.

## SYNOPSIS

`#include <types_traits.hpp>`

Inherits **\_\_gnu\_pbds::detail::stored\_value\< \_Tv \>**, and **\_\_gnu\_pbds::detail::stored\_hash\< \_Th \>**.

### Public Types

typedef \_Th **hash\_type**\
 typedef \_Tv **value\_type**\

### Public Attributes

hash\_type **m\_hash**\
 value\_type **m\_value**\

## Detailed Description

### template\<typename \_Tv, typename \_Th, bool Store\_Hash\>

struct \_\_gnu\_pbds::detail::stored\_data\< \_Tv, \_Th, Store\_Hash \>"Primary template for representation of stored data. Two types of data can be stored: value and hash.

## Author

Generated automatically by Doxygen for libstdc++ from the source code.
