---
name: "std::_Maybe_unary_or_binary_function"
section: "3"
platform: "linux"
package: "libstdc++6-4.3-doc"
version: "4.3.2-1.1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/std::_Maybe_unary_or_binary_function"
---

# std::\_Maybe\_unary\_or\_binary\_function(3)

## NAME

std::\_Maybe\_unary\_or\_binary\_function -

## SYNOPSIS

Inherited by **std::\_Mem\_fn\< \_Res(\_Class::\*)(\_ArgTypes...) const  \>**, **std::\_Mem\_fn\< \_Res(\_Class::\*)(\_ArgTypes...) const volatile \>**, and **std::\_Mem\_fn\< \_Res(\_Class::\*)(\_ArgTypes...) volatile \>**.

## Detailed Description

### template\<typename \_Res, typename... \_ArgTypes\> struct std::\_Maybe\_unary\_or\_binary\_function\< \_Res, \_ArgTypes \>

Derives from **unary\_function or binary\_function, or perhaps nothing, depending on the number of arguments provided. The primary template is the basis case, which derives nothing.**

**Definition at line 514 of file tr1\_impl/functional.**

## Author

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