C++ Utilities  4.17.0
Useful C++ classes and routines such as argument parser, IO and conversion utilities
Public Types | Static Public Member Functions | List of all members
MiscUtilities::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 MiscUtilities::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 MiscUtilities::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> MiscUtilities::VectorBasedMultiArray< Allocator >::init ( std::size_t  requiredSize)
inlinestatic

Definition at line 39 of file multiarray.h.


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