std::_Func...on_pointer(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

✨ okay so hi bestie, welcome to std::_Func...on_pointer(3) β€” yes that truncated title is real, and this whole page is from the Library Functions Manual. It’s giving deeply niche libstdc++ lore, but we’re keeping every crumb. πŸ’…

πŸŽ€ NAME πŸŽ€

std::_Function_to_function_pointer β€” turns a function type into a function pointer type. That’s the whole plot, no cap. ✨

🌸 SYNOPSIS 🌸

🌟 Public Types 🌟

  • typedef _Tp type β€” the public type, exactly as listed. No extra seasoning. 🫢

πŸ’– Detailed Description πŸ’–

okay so the actual template situation is this, bestie:

template<typename _Tp, bool _IsFunctionType = is_function<_Tp>::value>
       struct std::_Function_to_function_pointer< _Tp, _IsFunctionType >

And what does it do? It turns a function type into a function pointer type. That’s the whole serve. πŸ¦‹

The struct std::_Function_to_function_pointer< _Tp, _IsFunctionType > situation is right there, and Definition at line 242 of file tr1_impl/functional. Very β€œyou are here” energy. πŸ“

🌈 Author 🌈

The author line is literally: Generated automatically by Doxygen for libstdc++ from the source code. So yeah, Doxygen pulled up and did the thing β€” it was not handwritten by a human bestie. πŸ’€

byeee bestie β€” this was std::_Func...on_pointer(3) from libstdc++, dated 21 Apr 2009; go forth and be iconic in your function-type-to-function-pointer era πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from