|
NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
类型的对齐操作和查询 更多...
类 | |
| struct | alignment_of< T > |
| 查询类型的对齐要求 更多... | |
| struct | aligned_storage< Len, Align > |
| 创建指定大小和对齐要求的存储类型 更多... | |
| struct | aligned_union< Len, Types > |
| 创建可以容纳多种类型的对齐存储类型 更多... | |
类型定义 | |
| template<size_t Len, size_t Align = alignof(_NEFORCE max_align_t)> | |
| using | aligned_storage_t = typename aligned_storage<Len, Align>::type |
| aligned_storage的便捷别名 | |
| template<size_t Len, typename... Types> | |
| using | aligned_union_t = typename aligned_union<Len, Types...>::type |
| aligned_union的便捷别名 | |
变量 | |
| template<typename T> | |
| constexpr size_t | alignment_of_v = alignment_of<T>::value |
| alignment_of的便捷变量模板 | |
| template<size_t Len, typename... Types> | |
| constexpr size_t | aligned_union_v = aligned_union<Len, Types...>::align_value |
| 获取aligned_union的对齐要求值 | |
类型的对齐操作和查询