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

# \_\_gnu\_cxx::unary\_compose(3)

An SGI extension .

## NAME

\_\_gnu\_cxx::unary\_compose\< \_Operation1, \_Operation2 \> - An **SGI extension** .

## SYNOPSIS

\#include \<functional\>

Inherits **std::unary\_function\< \_Operation2::argument\_type, \_Operation1::result\_type \>**.

### Public Types

typedef \_Operation2::argument\_type **argument\_type**\
 argument\_type is the type of the argument  typedef \_Operation1::result\_type **result\_type**\
 result\_type is the return type

### Public Member Functions

**unary\_compose** (const \_Operation1 &\_\_x, const \_Operation2 &\_\_y)\
 \_Operation1::result\_type **operator()** (const typename \_Operation2::argument\_type &\_\_x) const\

### Protected Attributes

\_Operation1 **\_M\_fn1**\
 \_Operation2 **\_M\_fn2**\

## Detailed Description

### template\<class \_Operation1, class \_Operation2\>

class \_\_gnu\_cxx::unary\_compose\< \_Operation1, \_Operation2 \>"An **SGI extension** .

## Member Typedef Documentation

### typedef \_Operation2::argument\_type std::unary\_function\< \_Operation2::argument\_type, \_Operation1::result\_type \>::argument\_type \[inherited\]

argument\_type is the type of the argument

### typedef \_Operation1::result\_type std::unary\_function\< \_Operation2::argument\_type, \_Operation1::result\_type \>::result\_type \[inherited\]

result\_type is the return type

## Author

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