ORIGINAL
|
Defines an abstract base class for sequential containers with index-based access. More...
#include "container.h"
Go to the source code of this file.
Classes | |
class | original::serial< TYPE, ALLOC > |
Abstract base class for sequential containers with index-based access. More... | |
Namespaces | |
namespace | original |
Main namespace for the project Original. | |
Defines an abstract base class for sequential containers with index-based access.
The serial
class is intended to be used as a base for containers that support index-based access, such as arrays, lists, and other data structures where elements can be accessed via an index. Derived classes are required to implement certain methods such as get()
, operator[]
, set()
, and indexOf()
. This class offers methods for safely accessing elements, including negative index handling and bounds checking.