variable template
std::alignment_of_v
- Header
<type_traits>- Draft
- [meta.type.synop]
- Scope
std- cppreference
- std::alignment_of_v
Synopsis
template<class T>
inline constexpr size_t alignment_of_v = alignof(T);variable template
<type_traits>stdtemplate<class T>
inline constexpr size_t alignment_of_v = alignof(T);