|
NexusForce 1.0.0
A rigorously engineered full-stack C++ backend library.
|
整数序列工具 更多...
#include "NeForce/core/typeinfo/type_traits.hpp"类 | |
| struct | neforce::integer_sequence< T, Values > |
| 编译时整数序列容器 更多... | |
| struct | neforce::index_tuple< Values > |
| 索引元组容器 更多... | |
| struct | neforce::build_index_tuple< Num > |
| 构建指定长度的索引元组 更多... | |
类型定义 | |
| template<typename T, T Size> | |
| using | neforce::make_integer_sequence |
| 生成指定长度的整数序列 | |
| template<size_t... Values> | |
| using | neforce::index_sequence = integer_sequence<size_t, Values...> |
| 索引序列 | |
| template<size_t Size> | |
| using | neforce::make_index_sequence = make_integer_sequence<size_t, Size> |
| 生成指定长度的索引序列 | |
| template<typename... Types> | |
| using | neforce::index_sequence_for = make_index_sequence<sizeof...(Types)> |
| 根据类型参数包生成索引序列 | |
| template<size_t Num> | |
| using | neforce::build_index_tuple_t = typename build_index_tuple<Num>::type |
| build_index_tuple的便捷别名 | |