---
name: "std::_Reference_wrapper_base"
section: "3cxx"
platform: "linux"
package: "libstdc++-9-doc"
version: "9.3.0-22"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/std::_Reference_wrapper_base/3cxx"
---

# std::\_Reference\_wrapper\_base(3cxx)

## NAME

std::\_Reference\_wrapper\_base\< \_Tp \>

## SYNOPSIS

Inherits **std::\_Weak\_result\_type\< \_Tp \>**, std::\_Refwrap\_base\_arg1\< \_Tp, typename \>, and std::\_Refwrap\_base\_arg2\< \_Tp, typename \>.

Inherited by std::\_Reference\_wrapper\_base\_memfun\< remove\_cv\< \_Tp \>::type \>, and std::\_Reference\_wrapper\_base\_memfun\< \_Tp, bool \>.

## Detailed Description

### template\<typename \_Tp\>

struct std::\_Reference\_wrapper\_base\< \_Tp \>" Derives from unary\_function or binary\_function when it can. Specializations handle all of the easy cases. The primary template determines what to do with a class type, which may derive from both unary\_function and binary\_function.

Definition at line 214 of file refwrap.h.

## Author

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