boostorg / range

Boost.org range module
http://boost.org/libs/range
43 stars 104 forks source link

char8_t overloads not implemented #130

Open rolandreichwein opened 2 years ago

rolandreichwein commented 2 years ago

In include/boost/range/as_literal.hpp, the C++20 char8_t overloads are not implemented, in contrast to the already existing char16_t and char32_t versions. This leads to e.g.

boost::algorithm::starts_with(u8".git", u8".") == false

but only for C++20, and with u8, resp. char8_t.

rolandreichwein commented 2 years ago

Please consider the attached patch that fixes it for me. (.zip since interface didn't accept .patch directly)

boost-range.zip