---
name: "__gnu_cxx::Constant_unary_fun"
section: "3"
platform: "linux"
package: "libstdc++5-3.3-doc"
version: "1:3.3.6-15"
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 **\_\_gnu\_cxx::constant\_unary\_fun\< Result, Argument \>**.

### 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**\

## Detailed Description

### template\<class Result, class Argument\> struct \_\_gnu\_cxx::Constant\_unary\_fun\< Result, Argument \>

Definition at line 241 of file ext/functional.

## Author

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