The class/parameter names in the prototype do not match the version in the header file. Some have been modified to improve readability.

The front member function returns a reference to the first element of the controlled sequence, which must be nonempty. The back member function returns a reference to the last element of the controlled sequence, which must be nonempty.