STD::_MAYBE_WRAP_MEMBER_POINTER(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

hiii bestie πŸ’– welcome to std::_Maybe_wrap_member_pointer(3) from the Library Functions Manual. She’s a tiny template diva, and we’re gonna go through her whole page with zero skipped details, periodt.

🌸 NAME 🌸

std::_Maybe_wrap_member_pointer β€” and that’s the whole NAME entry, bestie: the name, a space, and a lil trailing -. That’s it. Slay.


✨ SYNOPSIS ✨

πŸŽ€ Public Types πŸŽ€

  • typedef _Tp type β€” the public type entry, literally sitting there being type.

🫢 Static Public Member Functions 🫢

  • static const _Tp & __do_wrap (const _Tp &__x) β€” the static public member function __do_wrap, with a const _Tp & return and a const _Tp &__x parameter. Yes, the parameter name is literally __x. Iconic.

β˜• Detailed Description β˜•

Okay so the template situation is this:

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 tr1::bind(). The primary template handles the non--member-pointer case.

Definition at line 1089 of file tr1_impl/functional.


πŸ–‹οΈ Author πŸ–‹οΈ

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


okay that’s the whole page, bestie πŸ«ΆπŸ’– β€” source/version vibes: libstdc++, dated 21 Apr 2009. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from