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

#include <vectorHelpers.h>

+ Collaboration diagram for olb::util::ContainerCreator< std::vector< T > >:

Public Types

using C = std::vector<T>
 

Static Public Member Functions

static constexpr C create (std::size_t size)
 

Detailed Description

template<typename T>
struct olb::util::ContainerCreator< std::vector< T > >

Definition at line 445 of file vectorHelpers.h.

Member Typedef Documentation

◆ C

template<typename T >
using olb::util::ContainerCreator< std::vector< T > >::C = std::vector<T>

Definition at line 446 of file vectorHelpers.h.

Member Function Documentation

◆ create()

template<typename T >
static constexpr C olb::util::ContainerCreator< std::vector< T > >::create ( std::size_t size)
inlinestaticconstexpr

Definition at line 448 of file vectorHelpers.h.

448 {
449 return C(size);
450 }

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