mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-03 13:55:39 +02:00
Add parseUInt utility function
There is an increasing number of places where Catch2 wants to parse strings into numbers, but being stuck in C++14 world, we do not have good stdlib facilities to do this (`strtoul` and `stoul` are both bad).
This commit is contained in:
@@ -16,6 +16,7 @@ self_test_sources = files(
|
||||
'SelfTest/IntrospectiveTests/FloatingPoint.tests.cpp',
|
||||
'SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp',
|
||||
'SelfTest/IntrospectiveTests/InternalBenchmark.tests.cpp',
|
||||
'SelfTest/IntrospectiveTests/Parse.tests.cpp',
|
||||
'SelfTest/IntrospectiveTests/PartTracker.tests.cpp',
|
||||
'SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp',
|
||||
'SelfTest/IntrospectiveTests/Reporters.tests.cpp',
|
||||
|
Reference in New Issue
Block a user