OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
call_init_if_needed< T, has_init > Struct Template Reference

Call the init function if a type T has the function init. More...

Detailed Description

template<typename T, bool has_init = has_init<T>::value>
struct call_init_if_needed< T, has_init >

Call the init function if a type T has the function init.

Template Parameters
typeT

Definition at line 156 of file vector_dist_operators.hpp.

#include <vector_dist_operators.hpp>

Static Public Member Functions

static void call (T &r_exp)
 it call the function init for r_exp if T has the function init
 

Member Function Documentation

◆ call()

template<typename T , bool has_init = has_init<T>::value>
static void call_init_if_needed< T, has_init >::call ( T &  r_exp)
inlinestatic

it call the function init for r_exp if T has the function init

Definition at line 159 of file vector_dist_operators.hpp.


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