fixed indexing for capacity
This commit is contained in:
parent
9f307442dc
commit
5ed9fd9146
|
|
@ -56,14 +56,14 @@ template<> template<> constexpr std::initializer_list<TestObj> test_context_para
|
|||
GEN_TEST_OBJ_FROM_ARR(1, 6),
|
||||
GEN_TEST_OBJ_FROM_ARR(1, 7) };
|
||||
|
||||
template<> template<> constexpr std::size_t test_context_params<int, 1>::value<"capacity"> = 10;
|
||||
template<> template<> constexpr std::size_t test_context_params<char, 1>::value<"capacity"> = 10;
|
||||
template<> template<> constexpr std::size_t test_context_params<const char *, 1>::value<"capacity"> = 10;
|
||||
template<> template<> constexpr std::size_t test_context_params<TestObj, 1>::value<"capacity"> = 10;
|
||||
template<> template<> constexpr std::size_t test_context_params<int, 2>::value<"capacity"> = 200;
|
||||
template<> template<> constexpr std::size_t test_context_params<char, 2>::value<"capacity"> = 200;
|
||||
template<> template<> constexpr std::size_t test_context_params<const char *, 2>::value<"capacity"> = 200;
|
||||
template<> template<> constexpr std::size_t test_context_params<TestObj, 2>::value<"capacity"> = 200;
|
||||
template<> template<> constexpr std::size_t test_context_params<int, 0>::value<"capacity"> = 10;
|
||||
template<> template<> constexpr std::size_t test_context_params<char, 0>::value<"capacity"> = 10;
|
||||
template<> template<> constexpr std::size_t test_context_params<const char *, 0>::value<"capacity"> = 10;
|
||||
template<> template<> constexpr std::size_t test_context_params<TestObj, 0>::value<"capacity"> = 10;
|
||||
template<> template<> constexpr std::size_t test_context_params<int, 1>::value<"capacity"> = 200;
|
||||
template<> template<> constexpr std::size_t test_context_params<char, 1>::value<"capacity"> = 200;
|
||||
template<> template<> constexpr std::size_t test_context_params<const char *, 1>::value<"capacity"> = 200;
|
||||
template<> template<> constexpr std::size_t test_context_params<TestObj, 1>::value<"capacity"> = 200;
|
||||
|
||||
template<> template<> constexpr std::size_t test_context_params<int, 0>::value<"size"> = 25;
|
||||
template<> template<> constexpr std::size_t test_context_params<char, 0>::value<"size"> = 25;
|
||||
|
|
|
|||
Loading…
Reference in New Issue