This class is a thin wrapper around std::vector. Unlike vector, Vector::operator[] provides bound checking when compiled with DEBUG=TRUE.
More...
#include <AMReX_Vector.H>
|
T & | operator[] (size_type i) noexcept |
|
const T & | operator[] (size_type i) const noexcept |
|
T * | dataPtr () noexcept |
| get access to the underlying data pointer More...
|
|
const T * | dataPtr () const noexcept |
| get access to the underlying data pointer More...
|
|
Long | size () const noexcept |
|
template<class T, class Allocator = std::allocator<T>>
class amrex::Vector< T, Allocator >
This class is a thin wrapper around std::vector. Unlike vector, Vector::operator[] provides bound checking when compiled with DEBUG=TRUE.
◆ dataPtr() [1/2]
template<class T , class Allocator = std::allocator<T>>
get access to the underlying data pointer
◆ dataPtr() [2/2]
template<class T , class Allocator = std::allocator<T>>
get access to the underlying data pointer
◆ operator[]() [1/2]
template<class T , class Allocator = std::allocator<T>>
const T& amrex::Vector< T, Allocator >::operator[] |
( |
size_type |
i | ) |
const |
|
inlinenoexcept |
◆ operator[]() [2/2]
template<class T , class Allocator = std::allocator<T>>
◆ size()
template<class T , class Allocator = std::allocator<T>>
The documentation for this class was generated from the following file: