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

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

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.
