This is a sort of compact std::vector<std::vector<T>> More...

Public Member Functions | |
| flexibleMemory () | |
| flexibleMemory (const flexibleMemory &m) | |
| ~flexibleMemory ()=default | |
| void | extend (const std::vector< T > &v) |
| constexpr View< const T > | get (size_t i) const |
| flexibleMemory & | operator= (const flexibleMemory &m) |
| void | removeFromACCDevice () const |
| constexpr size_t | size () const |
| void | toACCDevice () const |
Private Member Functions | |
| void | update () |
Private Attributes | |
| T * | d |
| std::vector< T > | data {} |
| Stores the data. | |
| std::vector< size_t > | sizes {} |
| Stores the boundaries. | |
| size_t * | sz |
This is a sort of compact std::vector<std::vector<T>>
|
inline |
|
default |
|
inline |
|
inline |
|
inlineconstexpr |
|
inline |
|
inline |
|
inlineconstexpr |
|
inline |
|
inlineprivate |
|
private |
|
private |
Stores the data.
|
private |
Stores the boundaries.
|
private |
Hosted by GitHub
|
1.13.2
|