https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41958

stinkingmadgod at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stinkingmadgod at gmail dot com

--- Comment #11 from stinkingmadgod at gmail dot com ---
DR1395 made it in C++17.

template <class ...T> int f(T*...);  // #1
template <class T>  int f(const T&); // #2
f((int*)0); // Should select #1 past C++17, should be ambiguous prior C++17.
            // Selects #2 instead.

This is still the behaviour for trunk https://godbolt.org/z/ucAUHw

Reply via email to