P4C
The P4 Compiler
Loading...
Searching...
No Matches
Public Types
|
Public Member Functions
|
List of all members
safe_vector< T, Alloc > Class Template Reference
Inheritance diagram for safe_vector< T, Alloc >:
[
legend
]
Public Types
typedef std::vector< T >::const_iterator
const_iterator
typedef std::vector< T, Alloc >::const_reference
const_reference
typedef std::vector< T, Alloc >::reference
reference
typedef std::vector< T, Alloc >::size_type
size_type
Public Member Functions
reference
operator[]
(size_type n)
const_reference
operator[]
(size_type n) const
Detailed Description
template<class T, class Alloc = std::allocator<T>>
class safe_vector< T, Alloc >
An enhanced version of std::vector that performs bounds checking for operator[].
safe_vector
Generated on Tue Mar 26 2024 for