---
name: "__gnu_parallel::__binder2nd"
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_parallel::__binder2nd/3cxx"
---

# \_\_gnu\_parallel::\_\_binder2nd(3cxx)

Similar to std::binder2nd, but giving the argument types explicitly.

## NAME

\_\_gnu\_parallel::\_\_binder2nd\< \_Operation, \_FirstArgumentType, \_SecondArgumentType, \_ResultType \> - Similar to std::binder2nd, but giving the argument types explicitly.

## SYNOPSIS

`#include <base.h>`

Inherits **std::unary\_function\< \_FirstArgumentType, \_ResultType \>**.

### Public Types

typedef \_FirstArgumentType **argument\_type**\
 `argument_type` is the type of the argument  typedef \_ResultType **result\_type**\
 `result_type` is the return type

### Public Member Functions

**\_\_binder2nd** (const \_Operation &\_\_x, const \_SecondArgumentType &\_\_y)\
 \_ResultType **operator()** (\_FirstArgumentType &\_\_x)\
 \_ResultType **operator()** (const \_FirstArgumentType &\_\_x) const\

### Protected Attributes

\_Operation **\_M\_op**\
 \_SecondArgumentType **\_M\_value**\

## Detailed Description

### template\<typename \_Operation, typename \_FirstArgumentType, typename \_SecondArgumentType, typename \_ResultType\>

class \_\_gnu\_parallel::\_\_binder2nd\< \_Operation, \_FirstArgumentType, \_SecondArgumentType, \_ResultType \>"Similar to std::binder2nd, but giving the argument types explicitly.

## Member Typedef Documentation

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

`argument_type` is the type of the argument

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

`result_type` is the return type

## Author

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