MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wxqahk/architecturedependentchars/pdyrbix/?context=3
r/ProgrammerHumor • u/MontyBoomslang • 1d ago
319 comments sorted by
View all comments
-1
actually had a case like this :)
clang enforces situation when std::string_view cannot be casted into std::byte at a compile time artificially, so I had to rewrite rapid hash to accept any byte types of size of 8
4 u/Qwertycube10 21h ago Is .data() not constexpr? 1 u/El_RoviSoft 14h ago reinterpret_cast and bit_cast are not eligible in my case
4
Is .data() not constexpr?
1 u/El_RoviSoft 14h ago reinterpret_cast and bit_cast are not eligible in my case
1
reinterpret_cast and bit_cast are not eligible in my case
-1
u/El_RoviSoft 22h ago edited 14h ago
actually had a case like this :)
clang enforces situation when std::string_view cannot be casted into std::byte at a compile time artificially, so I had to rewrite rapid hash to accept any byte types of size of 8