---
name: "std::_Maybe_wrap_member_pointer"
section: "3cxx"
platform: "linux"
package: "libstdc++-6-doc"
version: "6.3.0-18+deb9u1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/std::_Maybe_wrap_member_pointer/3cxx"
---

# std::\_Maybe\_wrap\_member\_pointer(3cxx)

## NAME

std::\_Maybe\_wrap\_member\_pointer\< \_Tp \>

## SYNOPSIS

### Public Types

typedef \_Tp **type**\

### Static Public Member Functions

static constexpr const \_Tp & **\_\_do\_wrap** (const \_Tp &\_\_x)\
 static constexpr \_Tp && **\_\_do\_wrap** (\_Tp &&\_\_x)\

## Detailed Description

### template\<typename \_Tp\>

struct std::\_Maybe\_wrap\_member\_pointer\< \_Tp \>" Maps member pointers into instances of \_Mem\_fn but leaves all other function objects untouched. Used by std::bind(). The primary template handles the non-member-pointer case.

Definition at line 861 of file functional.

## Author

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