---
name: "__gnu_pbds::detail::select_value_type"
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::select_value_type/3cxx"
---

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

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.
