./ct_str/details/byte_store.hpp:84:45: error: ‘hex_storage’ defined ‘static’ in ‘constexpr’ function only available with ‘-std=c++23’ or ‘-std=gnu++23’ [-Wtemplate-body]
I'm no constexpr expert, so I don't know if there is a reasonable solution to this for c++20. If not then the requirement of c++23 should probably be mentioned in the docs.
ETA: or maybe just enclose that method inside #if __cplusplus >= 202302
This is from gcc 15.2 on Linux using -std=c++20.
./ct_str/details/byte_store.hpp:84:45: error: ‘hex_storage’ defined ‘static’ in ‘constexpr’ function only available with ‘-std=c++23’ or ‘-std=gnu++23’ [-Wtemplate-body]I'm no constexpr expert, so I don't know if there is a reasonable solution to this for c++20. If not then the requirement of c++23 should probably be mentioned in the docs.
ETA: or maybe just enclose that method inside #if __cplusplus >= 202302
This is from gcc 15.2 on Linux using -std=c++20.