I see that LLVM are now active on GitHub Issues, so I have filed this there
too. Hopefully someone on either side eventually notices it ;-)
https://github.com/llvm/llvm-project/issues/52696
fixed example code:
--
#include
#include
#include
#include
char rot13a(const char x, const char a)
{
return a + (((x - a) + 13) % 26);
}
char rot13(const char x)
{
if (x >= 'A' && x <= 'Z') {
return rot13a(x, 'A');
}
if (x >= 'a' && x <= 'z') {
return rot13a(x, 'a');
}
return x;
}
int main
I see now that the Transcoder stuff in the cppref code is invalid for
separate reasons, chiefly that the functor passed to transform is not
std::regular_invocable because it is not equality preserving... so I'll fix
that as it's a wiki.
BUT the error occurs regardless and has manifested in unrelat
Package: clang-13
Version: 1:13.0.0-9+b1
Severity: important
Tags: upstream
Dear Maintainer,
clang++ 13, as of now in Debian unstable, and on Compiler Explorer,
causes
confusing and seemingly wrong template/constraint errors when trying to
compile
many pieces of code using std::ranges / std::view
4 matches
Mail list logo