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

# \_\_gnu\_cxx::constant\_void\_fun(3)

An SGI extension .

## NAME

\_\_gnu\_cxx::constant\_void\_fun\< \_Result \> - An **SGI extension** .

## SYNOPSIS

\#include \<functional\>

### Public Types

typedef \_Result **result\_type**\

### Public Member Functions

**constant\_void\_fun** (const \_Result &\_\_v)\
 const result\_type & **operator()** () const\

### Public Attributes

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

## Detailed Description

### template\<class \_Result\>

struct \_\_gnu\_cxx::constant\_void\_fun\< \_Result \>"An **SGI extension** .

## Author

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