circle_selection.cpp:141:48: error: 'is_arithmetic_v' was not declared in this scope
141 | template<typename T, typename std::enable_if_t<is_arithmetic_v<T>>* = nullptr>
| ^~~~~~~~~~~~~~~
circle_selection.cpp:141:64: error: template argument 1 is invalid
141 | template<typename T, typename std::enable_if_t<is_arithmetic_v<T>>* = nullptr>
| ^
circle_selection.cpp:141:65: error: expected identifier before '>' token
141 | template<typename T, typename std::enable_if_t<is_arithmetic_v<T>>* = nullptr>
| ^~
circle_selection.cpp:141:69: error: expected unqualified-id before '=' token
141 | template<typename T, typename std::enable_if_t<is_arithmetic_v<T>>* = nullptr>
| ^
circle_selection.cpp:149:48: error: 'is_arithmetic_v' was not declared in this scope
149 | template<typename T, typename std::enable_if_t<is_arithmetic_v<T>>* = nullptr>
| ^~~~~~~~~~~~~~~
circle_selection.cpp:149:64: error: template argument 1 is invalid
149 | template<typename T, typename std::enable_if_t<is_arithmetic_v<T>>* = nullptr>
| ^
circle_selection.cpp:149:65: error: expected identifier before '>' token
149 | template<typename T, typename std::enable_if_t<is_arithmetic_v<T>>* = nullptr>
| ^~
circle_selection.cpp:149:69: error: expected unqualified-id before '=' token
149 | template<typename T, typename std::enable_if_t<is_arithmetic_v<T>>* = nullptr>
| ^
circle_selection.cpp: In function 'int main()':
circle_selection.cpp:164:6: error: no match for 'operator>>' (operand types are 'INPUT' and 'int')
164 | cin >> N;
| ^~ ~
| |
| int
circle_selection.cpp:139:8: note: candidate: 'INPUT& operator>>(INPUT&, char&)' (near match)
139 | INPUT& operator>> (INPUT& in, char& i) { i = in.ReadChar(); return in; }
| ^~~~~~~~
circle_selection.cpp:139:8: note: conversion of argument 2 would be ill-formed:
circle_selection.cpp:164:9: error: cannot bind non-const lvalue reference of type 'char&' to an rvalue of type 'char'
164 | cin >> N;
| ^
circle_selection.cpp:164:6: note: candidate: 'operator>>(int, int)' (built-in)
164 | cin >> N;
| ^
circle_selection.cpp:164:6: note: no known conversion for argument 1 from 'INPUT' to 'int'
circle_selection.cpp:140:8: note: candidate: 'INPUT& operator>>(INPUT&, std::string&)'
140 | INPUT& operator>> (INPUT& in, string& i) { i = in.ReadString(); return in; }
| ^~~~~~~~
circle_selection.cpp:140:39: note: no known conversion for argument 2 from 'int' to 'std::string&' {aka 'std::__cxx11::basic_string<char>&'}
140 | INPUT& operator>> (INPUT& in, string& i) { i = in.ReadString(); return in; }
| ~~~~~~~~^
In file included from /usr/include/c++/10/string:56,
from /usr/include/c++/10/bits/locale_classes.h:40,
from /usr/include/c++/10/bits/ios_base.h:41,
from /usr/include/c++/10/ios:42,
from /usr/include/c++/10/istream:38,
from /usr/include/c++/10/sstream:38,
from /usr/include/c++/10/complex:45,
from /usr/include/c++/10/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:54,
from circle_selection.cpp:2:
/usr/include/c++/10/bits/basic_string.tcc:1476:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
1476 | operator>>(basic_istream<_CharT, _Traits>& __in,
| ^~~~~~~~
/usr/include/c++/10/bits/basic_string.tcc:1476:5: note: template argument deduction/substitution failed:
circle_selection.cpp:164:9: note: 'INPUT' is not derived from 'std::basic_istream<_CharT, _Traits>'
164 | cin >> N;
| ^
In file included from /usr/include/c++/10/istream:991,
from /usr/include/c++/10/sstream:38,
from /usr/include/c++/10/complex:45,
from /usr/include/c++/10/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:54,
from circle_selection.cpp:2:
/usr/include/c++/10/bits/istream.tcc:931:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT&)'
931 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
| ^~~~~~~~
/usr/include/c++/10/bits/istream.tcc:931:5: note: template argument deduction/substitution failed:
circle_selection.cpp:164:9: note: 'INPUT' is not derived from 'std::basic_istream<_CharT, _Traits>'
164 | cin >> N;
| ^
In file included from /usr/include/c++/10/sstream:38,
from /usr/include/c++/10/complex:45,
from /usr/include/c++/10/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:54,
from circle_selection.cpp:2:
/usr/include/c++/10/istream:756:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, unsigned char&)'
756 | operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
| ^~~~~~~~
/usr/include/c++/10/istream:756:5: note: template argument deduction/substitution failed:
circle_selection.cpp:164:9: note: 'INPUT' is not derived from 'std::basic_istream<char, _Traits>'
164 | cin >> N;
| ^
In file included from /usr/include/c++/10/sstream:38,
from /usr/include/c++/10/complex:45,
from /usr/include/c++/10/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:54,
from circle_selection.cpp:2:
/usr/include/c++/10/istream:761:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, signed char&)'
761 | operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
| ^~~~~~~~
/usr/include/c++/10/istream:761:5: note: template argument deduction/substitution failed:
circle_selection.cpp:164:9: note: 'INPUT' is not derived from 'std::basic_istream<char, _Traits>'
164 | cin >> N;
| ^
In file included from /usr/include/c++/10/istream:991,
from /usr/include/c++/10/sstream:38,
from /usr/include/c++/10/complex:45,
from /usr/include/c++/10/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:54,
from circle_selection.cpp:2:
/usr/include/c++/10/bits/istream.tcc:963:5: note: candidate: 'template<class _CharT2, class _Traits2> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT2*)'
963 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)
| ^~~~~~~~
/usr/include/c++/10/bits/istream.tcc:963:5: note: template argument deduction/substitution failed:
circle_selection.cpp:164:9: note: 'INPUT' is not derived from 'std::basic_istream<_CharT, _Traits>'
164 | cin >> N;
| ^
In file included from /usr/include/c++/10/sstream:38,
from /usr/include/c++/10/complex:45,
from /usr/include/c++/10/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:54,
from circle_selection.cpp:2:
/usr/include/c++/10/istream:803:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, unsigned char*)'
803 | operator>>(basic_istream<char, _Traits>& __in, unsigned char* __s)
| ^~~~~~~~
/usr/include/c++/10/istream:803:5: note: template argument deduction/substitution failed:
circle_selection.cpp:164:9: note: 'INPUT' is not derived from 'std::basic_istream<char, _Traits>'
164 | cin >> N;
| ^
In file included from /usr/include/c++/10/sstream:38,
from /usr/include/c++/10/complex:45,
from /usr/include/c++/10/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:54,
from circle_selection.cpp:2:
/usr/include/c++/10/istream:808:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, signed char*)'
808 | operator>>(basic_istream<char, _Traits>& __in, signed char* __s)
| ^~~~~~~~
/usr/include/c++/10/istream:808:5: note: template argument deduction/substitution failed:
circle_selection.cpp:164:9: note: 'INPUT' is not derived from 'std::basic_istream<char, _Traits>'
164 | cin >> N;
| ^
In file included from /usr/include/c++/10/sstream:38,
from /usr/include/c++/10/complex:45,
from /usr/include/c++/10/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:54,
from circle_selection.cpp:2:
/usr/include/c++/10/istream:980:5: note: candidate: 'template<class _Istream, class _Tp> typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_istream<_Istream>, std::__is_extractable<typename std::__is_convertible_to_basic_istream<_Tp>::__istream_type, _Tp&&, void> >::value, typename std::__is_convertible_to_basic_istream<_Tp>::__istream_type>::type std::operator>>(_Istream&&, _Tp&&)'
980 | operator>>(_Istream&& __is, _Tp&& __x)
| ^~~~~~~~
/usr/include/c++/10/istream:980:5: note: template argument deduction/substitution failed:
/usr/include/c++/10/istream: In substitution of 'template<class _Istream, class _Tp> typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_istream<_Istream>, std::__is_extractable<typename std::__is_convertible_to_basic_istream<_Tp>::__istream_type, _Tp&&, void> >::value, typename std::__is_convertible_to_basic_istream<_Tp>::__istream_type>::type std::operator>>(_Istream&&, _Tp&&) [with _Istream = INPUT&; _Tp = int&]':
circle_selection.cpp:164:9: required from here
/usr/include/c++/10/istream:980:5: error: no type named 'type' in 'struct std::enable_if<false, void>'
In file included from /usr/include/c++/10/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:54,
from circle_selection.cpp:2:
/usr/include/c++/10/complex:500:5: note: candidate: 'template<class _Tp, class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::complex<_Tp>&)'
500 | operator>>(basic_istream<_CharT, _Traits>& __is, complex<_Tp>& __x)
| ^~~~~~~~
/usr/include/c++/10/complex:500:5: note: template argument deduction/substitution failed:
circle_selection.cpp:164:9: note: 'INPUT' is not derived from 'std::basic_istream<_CharT, _Traits>'
164 | cin >> N;
| ^
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:66,
from circle_selection.cpp:2:
/usr/include/c++/10/bitset:1472:5: note: candidate: 'template<class _CharT, class _Traits, long unsigned int _Nb> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::bitset<_Nb>&)'
1472 | operator>>(std::basic_istream<_CharT, _Traits>& __is, bitset<_Nb>& __x)
| ^~~~~~~~
/usr/include/c++/10/bitset:1472:5: note: template argument deduction/substitution failed:
circle_selection.cpp:164:9: note: 'INPUT' is not derived from 'std::basic_istream<_CharT, _Traits>'
164 | cin >> N;
| ^
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:72,
from circle_selection.cpp:2:
/usr/include/c++/10/iomanip:71:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Resetiosflags)'
71 | operator>>(basic_istream<_CharT, _Traits>& __is, _Resetiosflags __f)
| ^~~~~~~~
/usr/include/c++/10/iomanip:71:5: note: template argument deduction/substitution failed:
circle_selection.cpp:164:9: note: 'INPUT' is not derived from 'std::basic_istream<_CharT, _Traits>'
164 | cin >> N;
| ^
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:72,
from circle_selection.cpp:2:
/usr/include/c++/10/iomanip:101:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setiosflags)'
101 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setiosflags __f)
| ^~~~~~~~
/usr/include/c++/10/iomanip:101:5: note: template argument deduction/substitution failed:
circle_selection.cpp:164:9: note: 'INPUT' is not derived from 'std::basic_istream<_CharT, _Traits>'
164 | cin >> N;
| ^
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:72,
from circle_selection.cpp:2:
/usr/include/c++/10/iomanip:132:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setbase)'
132 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setbase __f)
| ^~~~~~~~
/usr/include/c++/10/iomanip:132:5: note: template argument deduction/substitution failed:
circle_selection.cpp:164:9: note: 'INPUT' is not derived from 'std::basic_istream<_CharT, _Traits>'
164 | cin >> N;
| ^
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:72,
from circle_selection.cpp:2:
/usr/include/c++/10/iomanip:170:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setfill<_CharT>)'
170 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setfill<_CharT> __f)
| ^~~~~~~~
/usr/include/c++/10/iomanip:170:5: note: template argument deduction/substitution failed:
circle_selection.cpp:164:9: note: 'INPUT' is not derived from 'std::basic_istream<_CharT, _Traits>'
164 | cin >> N;
| ^
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:72,
from circle_selection.cpp:2:
/usr/include/c++/10/iomanip:200:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setprecision)'
200 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setprecision __f)
| ^~~~~~~~
/usr/include/c++/10/iomanip:200:5: note: template argument deduction/substitution failed:
circle_selection.cpp:164:9: note: 'INPUT' is not derived from 'std::basic_istream<_CharT, _Traits>'
164 | cin >> N;
| ^
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:72,
from circle_selection.cpp:2:
/usr/include/c++/10/iomanip:230:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setw)'
230 | operator>>(basic_istream<_CharT, _Traits>& __is, _Setw __f)
| ^~~~~~~~
/usr/include/c++/10/iomanip:230:5: note: template argument deduction/substitution failed:
circle_selection.cpp:164:9: note: 'INPUT' is not derived from 'std::basic_istream<_CharT, _Traits>'
164 | cin >> N;
| ^
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:72,
from circle_selection.cpp:2:
/usr/include/c++/10/iomanip:264:5: note: candidate: 'template<class _CharT, class _Traits, class _MoneyT> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Get_money<_MoneyT>)'
264 | operator>>(basic_istream<_CharT, _Traits>& __is, _Get_money<_MoneyT> __f)
| ^~~~~~~~
/usr/include/c++/10/iomanip:264:5: note: template argument deduction/substitution failed:
circle_selection.cpp:164:9: note: 'INPUT' is not derived from 'std::basic_istream<_CharT, _Traits>'
164 | cin >> N;
| ^
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:72,
from circle_selection.cpp:2:
/usr/include/c++/10/iomanip:418:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Get_time<_CharT>)'
418 | operator>>(basic_istream<_CharT, _Traits>& __is, _Get_time<_CharT> __f)
| ^~~~~~~~
/usr/include/c++/10/iomanip:418:5: note: template argument deduction/substitution failed:
circle_selection.cpp:164:9: note: 'INPUT' is not derived from 'std::basic_istream<_CharT, _Traits>'
164 | cin >> N;
| ^
In file included from /usr/include/c++/10/valarray:603,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:95,
from circle_selection.cpp:2:
/usr/include/c++/10/bits/valarray_after.h:414:5: note: candidate: 'template<class _Dom1, class _Dom2> std::_Expr<std::__detail::_BinClos<std::__shift_right, std::_Expr, std::_Expr, _Dom1, _Dom2>, typename std::__fun<std::__shift_right, typename _Dom1::value_type>::result_type> std::operator>>(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const std::_Expr<_Dom2, typename _Dom2::value_type>&)'
414 | _DEFINE_EXPR_BINARY_OPERATOR(>>, __shift_right)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/bits/valarray_after.h:414:5: note: template argument deduction/substitution failed:
circle_selection.cpp:164:9: note: 'INPUT' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
164 | cin >> N;
| ^
In file included from /usr/include/c++/10/valarray:603,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:95,
from circle_selection.cpp:2:
/usr/include/c++/10/bits/valarray_after.h:414:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__shift_right, std::_Expr, std::_Constant, _Dom, typename _Dom::value_type>, typename std::__fun<std::__shift_right, typename _Dom1::value_ty