std::alignment_of
它和alignof
的功能是重复的,它早于alignof
。
cppreference std::alignment_of
Notes
This type trait predates the alignof
keyword, which can be used to obtain the same value with less verbosity.
std::alignment_of
它和alignof
的功能是重复的,它早于alignof
。
This type trait predates the alignof
keyword, which can be used to obtain the same value with less verbosity.