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

--- Comment #2 from Dhruv Chawla <dhruvc at gcc dot gnu.org> ---
Forgot to post the output:

>> ../install/bin/g++ test.cpp -std=c++14
test.cpp: In function ‘int main()’:
test.cpp:7:7: error: no matching function for call to ‘f<t>()’
    7 |   f<t>();
      |   ~~~~^~
  • there is 1 candidate
    • candidate 1: ‘template<std::nullptr_t <anonymous> > void f()’
      test.cpp:3:32:
          3 | template <std::nullptr_t> void f();
            |                                ^
      • template argument deduction/substitution failed:

Reply via email to