Explicit object operator() copies movable temporaries #100542
Labels
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
duplicate
Resolved as duplicate
This program
is accepted by GCC and MSVC, but not in Clang, which tries to copy
A
inA{}();
:Online demo: https://gcc.godbolt.org/z/YEKh8G71o
The text was updated successfully, but these errors were encountered: