OpenLB 1.7
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
olb::util::ContainerCreator< Vector< T, SIZE > > Struct Template Reference

#include <vectorHelpers.h>

+ Collaboration diagram for olb::util::ContainerCreator< Vector< T, SIZE > >:

Public Types

using C = Vector<T,SIZE>
 

Static Public Member Functions

static constexpr C create (std::size_t size)
 

Detailed Description

template<typename T, unsigned SIZE>
struct olb::util::ContainerCreator< Vector< T, SIZE > >

Definition at line 464 of file vectorHelpers.h.

Member Typedef Documentation

◆ C

template<typename T , unsigned SIZE>
using olb::util::ContainerCreator< Vector< T, SIZE > >::C = Vector<T,SIZE>

Definition at line 465 of file vectorHelpers.h.

Member Function Documentation

◆ create()

template<typename T , unsigned SIZE>
static constexpr C olb::util::ContainerCreator< Vector< T, SIZE > >::create ( std::size_t size)
inlinestaticconstexpr

Definition at line 467 of file vectorHelpers.h.

467 {
468 OLB_PRECONDITION(SIZE == size);
469 return C{};
470 }
#define OLB_PRECONDITION(COND)
Definition olbDebug.h:46

References OLB_PRECONDITION.


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