We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b4a8c0 commit d42289dCopy full SHA for d42289d
benchmarks/CMakeLists.txt
@@ -21,7 +21,7 @@ check_source_compiles(CXX "
21
int main(void) {
22
float valuef = 0;
23
double valued = 0;
24
- const char* ptr;
+ char* ptr;
25
std::to_chars_result result1 = std::to_chars(ptr, ptr, valuef);
26
std::to_chars_result result2 = std::to_chars(ptr, ptr, valued);
27
return 0;
benchmarks/benchmark.cpp
@@ -22,9 +22,6 @@
#include <string>
#include <variant>
#include <fast_float/fast_float.h>
-#if FROM_CHARS_SUPPORTED || TO_CHARS_SUPPORTED
-#include <charconv> // technically included by "algorithms.h"
-#endif
28
29
using Benchmarks::arithmetic_float;
30
using Benchmarks::BenchArgs;
0 commit comments