This is valid C++17, but pre-C++17 would need line 11 to read Point<> p1.
The expression being tested for validity typically depends on a template argument, so there would usually be something in those angle brackets anyway.
Oh hadn't set Visual Studio to support C++17! Thanks