Open Eczbek opened 1 day ago
@llvm/issue-subscribers-clang-frontend
Author: None (Eczbek)
So if we remove the lambda, all three compilers will admit it's invalid.
I have just been informed that this might be IFNDR according to https://eel.is/c++draft/temp.res.general#6 and https://eel.is/c++draft/expr.prim.req.general#5.sentence-6
https://godbolt.org/z/Yfb8dxYbj
GCC and MSVC seem to be fine with this code.