N
nsgi_2004
Hello, I made a table class (implemented with an array) and would like to
add iterators so that I can use the std algorithms with it.
I added this to my class:
typedef T* iterator;
iterator begin();
iterator end();
Is that all I need to do?
add iterators so that I can use the std algorithms with it.
I added this to my class:
typedef T* iterator;
iterator begin();
iterator end();
Is that all I need to do?