---
name: "__gnu_cxx::select1st"
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_cxx::select1st"
---

# \_\_gnu\_cxx::select1st(3)

An SGI extension .

## NAME

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

## SYNOPSIS

\#include \<functional\>

### Public Types

typedef \_Pair **argument\_type**\
 argument\_type is the type of the argument  typedef \_Pair::first\_type **result\_type**\
 result\_type is the return type

### Public Member Functions

\_Pair::first\_type & **operator()** (\_Pair &\_\_x) const\
 template\<typename \_Pair2\> \_Pair2::first\_type & **operator()** (\_Pair2 &\_\_x) const\
 const \_Pair::first\_type & **operator()** (const \_Pair &\_\_x) const\
 template\<typename \_Pair2\> const \_Pair2::first\_type & **operator()** (const \_Pair2 &\_\_x) const\

## Detailed Description

### template\<class \_Pair\>

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

## Member Typedef Documentation

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

argument\_type is the type of the argument

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

result\_type is the return type

## Author

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