OpenFPM_data  0.1.0
Project that contain the implementation and interfaces for basic structure like vectors, grids, graph ... .
 All Data Structures Namespaces Functions Variables Typedefs Friends
conditional_push< v, p_ele, to_push > Struct Template Reference

push p_ele into v only of to_push is true More...

Detailed Description

template<typename v, typename p_ele, bool to_push>
struct conditional_push< v, p_ele, to_push >

push p_ele into v only of to_push is true

Template Parameters
vvector where to push
p_eleobject to push
to_pushit push the element only if this flag is true

Definition at line 85 of file object_creator.hpp.

#include <object_creator.hpp>

Public Types

typedef boost::mpl::push_front
< v, p_ele >::type 
type
 

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