Why can I not put after the constructor declaration?
If I explicitly specify the template argument <T>
after the constructor, it builds fine with C++17 but fails with C++20 (verified with OnlineGDB).
If I explicitly specify the template argument <T>
after the constructor, it builds fine with C++17 but fails with C++20 (verified with OnlineGDB).