std::experi...t_underlying(3)
π¦ NAME π¦
okay so this is the manual page for std::experi...t_underlying(3) from the C++ Standard Libary β yes that's the manual name, spelling and all, and we're folding it in right here near the top like a little name tag π«Ά. The NAME line is std::experimental::get_underlying - std::experimental::get_underlying, which is giving "I contain multitudes (and they're the same name)" energy, periodt. π
β¨ Synopsis β¨
Bestie, here's the exact signature situation. We got two overloads, both constexpr and both noexcept, and they live in library fundamentals TS v2:
template< class T >
constexpr T& get_underlying( propagate_const<T>& pt ) (library
fundamentals TS v2)
noexcept;
template< class T >
constexpr const T& get_underlying( const (library
fundamentals TS v2)
propagate_const<T>& pt ) noexcept;
And what do they do? They retrieve a reference to the pointer-like object stored inside a propagate_const. That's the whole vibe: you hand it a propagate_const, it gives you back a reference to the pointer-like thing tucked inside. π₯
π Parameters π
ptβ apropagate_constobject. That's it, that's the parameter, she's simple and iconic. π
π Return value π
A reference to the pointer-like object stored in pt. So like, pt has the goods, and this function hands you a reference to those goods. No cap. β¨
Cute sign-off: source? http://cppreference.com π, dated 2024.06.10 β, and the manual page is std::experi...t_underlying(3) π. Bye bestie, go get that underlying thing π.
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms