Safe_Vector
Safe_Vector is a template class,
that extends the C++ standard library's vector: - The class stores the vector's variable name, and uses it when printing out a vector's content, and in error messages. - The class implements boundary-check to element access []op too. - The class includes functions to print a vector's content, either in its entirety or just a portion of it. |
|