that uses a linked list toolkit.
The current function is supposed to return the current item in the sequence.
I have a sequence template class. Therefore I would like to know if the header I wrote for the function is accurate. I worked on a similar problem before but that time I used an array to manipulate the items.
the header file for that is as follows
sequence::value_type sequence::current( ) const
since now I am manipulating the items via a linked list I wrote the
header file as follows
typename sequence<Item>::Item sequence<Item>::current( ) const
I would like to know if this is accurate.