STD::ALIGNMENT_OF(3cxx)
π NAME π
okay so bestie, this page is for std::alignment_of< _Tp > β the manual entry is literally just alignment_of β and we're in the 3cxx manual. Main character type-trait energy, no cap.
β¨ SYNOPSIS β¨
Start with the include, iconic behavior:
#include <type_traits>
And the inheritance situation is:
Inherits std::integral_constant< std::size_t, alignof(_Tp)>.
π Public Types π
using type = integral_constant< std::size_t, __v >β thetypealias, exactly as written.using value_type = std::size_tβ thevalue_typealias, also exactly as written.
π¦ Public Member Functions π¦
constexpr operator value_type () const noexceptβ the conversion operator tovalue_type, and yes it'sconstexprandnoexcept.
πΈ Static Public Attributes πΈ
static constexpr std::size_t valueβ the staticvalue, sitting there being allconstexpr std::size_t.
π₯ Detailed Description π₯
The template vibe is:
template<typename _Tp>
struct std::alignment_of< _Tp >"alignment_of
That weird quote-ish bit at the end is literally in the original, bestie β I'm keeping it character-for-character and not "fixing" it. π
π«Ά Author π«Ά
Generated automatically by Doxygen for libstdc++ from the source code.
Doxygen really said "I'll generate the docs and dip," and honestly? Respect. π
Signed off with love: this page comes from libstdc++ for std::alignment_of< _Tp >(3cxx). The original footer has no date listed, so no made-up date from me β that's the whole cute sign-off, periodt. ππ
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms