constexpr_all_the_things icon indicating copy to clipboard operation
constexpr_all_the_things copied to clipboard

Results 3 constexpr_all_the_things issues
Sort by recently updated
recently updated
newest added

Resolves #4. The bug occurs because the fractional part was parsed with an `int0_parser()`, which discards leading zeros. Instead, we create a `many(make_char_parser('0'), ...)` that counts the number of leading...

The following testcase will fail: ``` constexpr auto number_val = JSON::number_parser()("0.0625"sv); static_assert(number_val && number_val->first == 0.0625); ``` Parsed value is 0.625

Hi, I watched the talk on CppCon2017 and tried to compile the piece of code with gcc-trunk but the compiler would say something like: `variable ‘b’ set but not used...