Files
fmt/test
Jonathan Gopel aa9b09a9e3 🐛 Cannot call non-constexpr function in constexpr context (#2010)
Problem:
- gcc-8 gives the following error when compiling this function on all
  standards:
    test/std-format-test.cc: In member function 'constexpr auto std::formatter<S>::parse(std::format_parse_context&)':
    test/std-format-test.cc:112:17: error: call to non-'constexpr' function 'int isdigit(int)'
        if (!isdigit(c) || (++iter, get_char()) != '}')
         ~~~~~~~^~~

Solution:
- Write a `constexpr` version of `isdigit` for use in this function.

Co-authored-by: Jonathan Gopel <jgopel@quantlab.com>
2020-11-12 10:10:52 -08:00
..
2020-11-03 19:34:35 -08:00
2017-02-25 09:00:56 -08:00
2020-10-11 10:13:42 -07:00
2020-09-06 09:26:32 -07:00
2020-10-11 10:13:42 -07:00
2020-11-09 16:34:54 -08:00
2020-11-11 09:12:15 -08:00
2020-09-06 08:24:15 -07:00
2020-11-03 07:30:27 -08:00
2020-09-01 08:48:56 -07:00
2020-11-03 07:30:27 -08:00
2020-04-01 08:42:14 -07:00
2020-10-28 05:35:37 -07:00
2020-05-10 07:34:30 -07:00
2020-06-06 08:15:33 -07:00
2020-05-07 15:59:46 -07:00
2020-05-07 15:59:46 -07:00