Template Struct LoanableArray
Defined in File LoanableArray.hpp
Inheritance Relationships
Base Type
public std::array< T, num_items >
Struct Documentation
-
template<typename T, std::size_t num_items>
struct LoanableArray : public std::array<T, num_items> A type-safe, ordered collection of elements allocated on the stack, which can be loaned to a LoanableCollection.
Public Functions
-
inline LoanableArray()
-
LoanableArray(const LoanableArray&) = delete
-
LoanableArray &operator=(const LoanableArray&) = delete
-
LoanableArray(LoanableArray&&) = delete
-
LoanableArray &operator=(LoanableArray&&) = delete
-
inline void **buffer_for_loans() const
Get a buffer pointer that could be used on LoanableCollection::loan.
- Returns
buffer pointer for loans.
-
inline LoanableArray()