0_0_37885555_13489.cpp: In member function 'Point<T>::P Point<T>::unit() const':
0_0_37885555_13489.cpp:71:7: error: 'is_integral_v' was not declared in this scope
if (is_integral_v<T>) return *this; // for long long
^
0_0_37885555_13489.cpp:71:22: error: expected primary-expression before '>' token
if (is_integral_v<T>) return *this; // for long long
^
0_0_37885555_13489.cpp:71:23: error: expected primary-expression before ')' token
if (is_integral_v<T>) return *this; // for long long
^
0_0_37885555_13489.cpp: In member function 'T Point<T>::project_len(Point<T>::P, Point<T>::P) const':
0_0_37885555_13489.cpp:101:7: error: 'is_integral_v' was not declared in this scope
if (is_integral_v<T>) return (*this - a).dot(b - a);
^
0_0_37885555_13489.cpp:101:22: error: expected primary-expression before '>' token
if (is_integral_v<T>) return (*this - a).dot(b - a);
^
0_0_37885555_13489.cpp:101:23: error: expected primary-expression before ')' token
if (is_integral_v<T>) return (*this - a).dot(b - a);
^
0_0_37885555_13489.cpp: In member function 'T Point<T>::dis_to_line(Point<T>::P, Point<T>::P) const':
0_0_37885555_13489.cpp:108:7: error: 'is_integral_v' was not declared in this scope
if (is_integral_v<T>) return (*this - a).cross(b - a);
^
0_0_37885555_13489.cpp:108:22: error: expected primary-expression before '>' token
if (is_integral_v<T>) return (*this - a).cross(b - a);
^
0_0_37885555_13489.cpp:108:23: error: expected primary-expression before ')' token
if (is_integral_v<T>) return (*this - a).cross(b - a);
^
|