Skip to content

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.