---
name: "__gnu_cxx::select2nd"
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_cxx::select2nd/3cxx"
---

# \_\_gnu\_cxx::select2nd(3cxx)

An SGI extension .

## NAME

\_\_gnu\_cxx::select2nd\< \_Pair \> - An **SGI extension** .

## SYNOPSIS

`#include <functional>`

Inherits std::\_Select2nd\< \_Pair \>.

### Public Types

typedef \_Pair **argument\_type**\
 `argument_type` is the type of the argument  typedef \_Pair::second\_type **result\_type**\
 `result_type` is the return type

### Public Member Functions

\_Pair::second\_type & **operator()** (\_Pair &\_\_x) const\
 const \_Pair::second\_type & **operator()** (const \_Pair &\_\_x) const\

## Detailed Description

### template\<class \_Pair\>

struct \_\_gnu\_cxx::select2nd\< \_Pair \>"An **SGI extension** .

## Member Typedef Documentation

### typedef \_Pair std::unary\_function\< \_Pair , \_Pair::second\_type \>::argument\_type` [inherited]`

`argument_type` is the type of the argument

### typedef \_Pair::second\_type std::unary\_function\< \_Pair , \_Pair::second\_type \>::result\_type` [inherited]`

`result_type` is the return type

## Author

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