veselink1 / refl-cpp

Static reflection for C++17 (compile-time enumeration, attributes, proxies, overloads, template functions, metaprogramming).
https://veselink1.github.io/refl-cpp/md__introduction.html
MIT License
1.06k stars 77 forks source link

Add support to refl::runtime::debug for std::string_view #23

Closed veselink1 closed 4 years ago

veselink1 commented 4 years ago

refl::runtime::debug interprets std::string_view as a char container and prints it in the form ['a', 'b', 'c'], instead of the more intuitive "abc". This is due to lacking reflection metadata for std::string_view and a check for begin() + end().