---
name: "__gnu_pbds::detail::select_value_type"
section: "3"
platform: "linux"
package: "gcc"
version: "16.2.1+r23+gd564253eb6c8-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_pbds::detail::select_value_type"
---

# \_\_gnu\_pbds::detail::select\_value\_type(3)

Choose value\_type to be a key/value pair or just a key.

## NAME

\_\_gnu\_pbds::detail::select\_value\_type\< Key, Mapped \> - Choose value\_type to be a key/value pair or just a key.

## SYNOPSIS

\#include \<types\_traits.hpp\>

### Public Types

typedef **std::pair**\< const Key, Mapped \> **type**\

## Detailed Description

### template\<typename Key, typename Mapped\>

struct \_\_gnu\_pbds::detail::select\_value\_type\< Key, Mapped \>"Choose value\_type to be a key/value pair or just a key.

## Author

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