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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppalka at gcc dot gnu.org
            Summary|[15 Regression] 0 vs        |[15 Regression] 0 vs
                   |nullptr mixup in template   |nullptr mixup as default
                   |                            |argument of dependently
                   |                            |typed NTTP

--- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Reduced:

template<class T, T* = nullptr>
class Matrix {};

template<class T>
void operator*(Matrix<T>, int);

int main() {
  Matrix<int> m;
  m * 42;
}

Reply via email to