[PATCH] D140828: [C++] Implement "Deducing this" (P0847R7)
Corentin Jabot via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 5 07:14:41 PDT 2023
cor3ntin added a comment.
Interesting case that crashes the compiler, stack overflow
cpp
struct T{};
struct C {
operator T (this int);
operator int();
};
void foo(C c) {
T d = c;
}
Not completely sure that this is supposed to be covered by https://eel.is/c++draft/class.conv#general-4
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140828/new/
https://reviews.llvm.org/D140828
More information about the cfe-commits
mailing list