C++ Utilities 5.26.1
Useful C++ classes and routines such as argument parser, IO and conversion utilities
Loading...
Searching...
No Matches
CppUtilities::VectorBasedMultiArray< Allocator > Struct Template Reference

The VectorBasedMultiArray struct allows using an std::vector with custom allocator as underlying container for the MultiArray class. More...

#include <multiarray.h>

Public Types

template<typename T >
using Type = std::vector<T, Allocator>
 

Static Public Member Functions

template<typename T >
static constexpr Type< T > init (std::size_t requiredSize)
 

Detailed Description

template<typename Allocator>
struct CppUtilities::VectorBasedMultiArray< Allocator >

The VectorBasedMultiArray struct allows using an std::vector with custom allocator as underlying container for the MultiArray class.

Definition at line 37 of file multiarray.h.

Member Typedef Documentation

◆ Type

template<typename Allocator >
template<typename T >
using CppUtilities::VectorBasedMultiArray< Allocator >::Type = std::vector<T, Allocator>

Definition at line 38 of file multiarray.h.

Member Function Documentation

◆ init()

template<typename Allocator >
template<typename T >
static constexpr Type< T > CppUtilities::VectorBasedMultiArray< Allocator >::init ( std::size_t requiredSize)
inlinestaticconstexpr

Definition at line 39 of file multiarray.h.


The documentation for this struct was generated from the following file: