Common Definition
Definition
1 2 3 4 5 | constexpr size_t MAX_SVECTOR_SIZE = 256; constexpr bool CHECK_BOUND = true; struct MaxSizeExceeded : public std::exception {}; constexpr size_t atb::DEFAULT_SVECTOR_SIZE = 64; std::ostream &operator << (std::ostream &os, const SVector< T > &svector ) |
Parameters
Member |
Description |
|---|---|
MAX_SVECTOR_SIZE |
Maximum container size. |
CHECK_BOUND |
The default value is true, indicating that boundary check is performed by default. |
MaxSizeExceeded |
Out-of-bounds exception parameter. For details, see the description of each API. |
DEFAULT_SVECTOR_SIZE |
Default container size. |
operator<<() |
Function for outputting elements in a container. |
Parent topic: atb/svector.h