Skip to content

Improve `to_string` function

Stephan Lachnit requested to merge p-cxx-string-improvements into main

Inspired from discussion here

We can now list any range that whose elements can be represented via to_string. I also added overloads for arithmetic types.

TODO:

  • Add std::chrono overloads
  • Make Value::str use to_string and to_string_list
  • Add function to print chars as hex
Edited by Stephan Lachnit

Merge request reports