ho_t1.cpp:22:5: error: need 'typename' before 'std::vector<_Tp>::iterator' because 'std::vector<_Tp>' is a dependent scope
22 | vector<T>::iterator begin() {
| ^~~~~~~~~
| typename
ho_t1.cpp:26:5: error: need 'typename' before 'std::vector<_Tp>::iterator' because 'std::vector<_Tp>' is a dependent scope
26 | vector<T>::iterator end() {
| ^~~~~~~~~
| typename
ho_t1.cpp: In function 'int main()':
ho_t1.cpp:68:12: error: 'class arr<long long int>' has no member named 'begin'
68 | sort(v.begin(), v.end());
| ^~~~~
ho_t1.cpp:68:23: error: 'class arr<long long int>' has no member named 'end'
68 | sort(v.begin(), v.end());
| ^~~
ho_t1.cpp:69:12: error: 'class arr<std::pair<long long int, long long int> >' has no member named 'begin'
69 | sort(p.begin(), p.end());
| ^~~~~
ho_t1.cpp:69:23: error: 'class arr<std::pair<long long int, long long int> >' has no member named 'end'
69 | sort(p.begin(), p.end());
| ^~~