Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifdef cerr
- template<typename T>
- struct vector1 : public vector<T>{
- using vector<T>::vector;
- const T& operator[](size_t x) const{
- return (*this).at(x);
- }
- T& operator[](size_t x){
- return (*this).at(x);
- }
- };
- #define vector vector1
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement