MSVC rejects program with member function call while gcc and clang accept
I wrote the following program in C++23 that compiles with gcc and clang but is rejected by msvc. I want to know which compiler is correct here as per the standard. Live demo
I wrote the following program in C++23 that compiles with gcc and clang but is rejected by msvc. I want to know which compiler is correct here as per the standard. Live demo