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

# std::binder1st(3cxx)

One of the binder functors.

## NAME

std::binder1st\< \_Operation \> - One of the **binder functors**.

## SYNOPSIS

`#include <functional>`

Inherits **std::unary\_function\< \_Operation::second\_argument\_type, \_Operation::result\_type \>**.

### Public Types

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

### Public Member Functions

**binder1st** (const \_Operation &\_\_x, const **typename** \_Operation::first\_argument\_type &\_\_y)\
 \_Operation::result\_type **operator()** (const **typename** \_Operation::second\_argument\_type &\_\_x) const\
 \_Operation::result\_type **operator()** (**typename** \_Operation::second\_argument\_type &\_\_x) const\

### Protected Attributes

\_Operation **op**\
 \_Operation::first\_argument\_type **value**\

## Detailed Description

### template\<typename \_Operation\>

class std::binder1st\< \_Operation \>"One of the **binder functors**.

## Member Typedef Documentation

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

`argument_type` is the type of the argument

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

`result_type` is the return type

## Author

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