json/test
Thomas Braun ecbb2756fd json_pointer::array_index: Use unsigned values for the array index when parsing
The current code uses std::stoi to convert the input string to an int
array_index. This limits the maximum addressable array size to ~2GB on
most platforms.

But all callers immediately convert the result of array_index to
BasicJsonType::size_type.

So let's parse it as unsigned long long, which allows us to have as
big arrays as available memory. And also makes the call sites nicer to
read.

One complication arises on platforms where size_type is smaller than
unsigned long long. We need to bail out on these if the parsed array
index does not fit into size_type.
2020-06-22 13:42:55 +02:00
..
cmake_add_subdirectory Update tests that generate CMake projects to use the CMAKE_CXX_COMPILER the main project was CMake'd with. Fixes #1747. 2019-11-18 21:46:34 -06:00
cmake_fetch_content Add CMake fetchcontent documentation and tests 2020-04-29 18:28:06 +02:00
cmake_import Update tests that generate CMake projects to use the CMAKE_CXX_COMPILER the main project was CMake'd with. Fixes #1747. 2019-11-18 21:46:34 -06:00
cmake_import_minver Update tests that generate CMake projects to use the CMAKE_CXX_COMPILER the main project was CMake'd with. Fixes #1747. 2019-11-18 21:46:34 -06:00
reports added fuzzing results 2016-10-02 11:23:47 +02:00
src json_pointer::array_index: Use unsigned values for the array index when parsing 2020-06-22 13:42:55 +02:00
thirdparty 🚨 fix warnings #2113 2020-05-16 14:26:17 +02:00
CMakeLists.txt Merge pull request #2145 from FrancoisChabot/1813-user-input 2020-06-05 14:30:39 +02:00
Makefile unified input API 2020-05-27 12:40:04 -04:00