fixed indexing for capacity

This commit is contained in:
cyborg1811m 2024-07-28 16:46:24 +02:00
parent 9f307442dc
commit 5ed9fd9146
1 changed files with 8 additions and 8 deletions

View File

@ -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;