---
name: "__gnu_cxx::_Constant_unary_fun"
section: "3"
platform: "linux"
package: "libstdc++6-4.1-doc"
version: "4.1.1-21"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_cxx::_Constant_unary_fun"
---

# \_\_gnu\_cxx::\_Constant\_unary\_fun(3)

## NAME

\_\_gnu\_cxx::\_Constant\_unary\_fun -

## SYNOPSIS

Inherited by **constant\_unary\_fun**.

## Detailed Description

### template\<class \_Result, class \_Argument\> struct \_\_gnu\_cxx::\_Constant\_unary\_fun\< \_Result, \_Argument \>

Definition at line 257 of file ext/functional.

### Public Types

typedef \_Argument **argument\_type**\
 typedef \_Result **result\_type**\

### Public Member Functions

**\_Constant\_unary\_fun** (const **result\_type** &\_\_v)\
 const **result\_type** & **operator()** (const \_Argument &) const\

### Public Attributes

**result\_type** **\_M\_val**\

## Author

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