this class is a functor for "for_each" algorithm More...
this class is a functor for "for_each" algorithm
This class is a functor for "for_each" algorithm. For each element of the boost::vector the operator() is called. Is mainly used to initialize the properties
Np | number of properties |
vector | type of vector |
Definition at line 72 of file se_class3_vector.hpp.
#include <se_class3_vector.hpp>
Public Member Functions | |
init_prop (size_t(&prp_init)[Np]) | |
constructor | |
template<typename T > | |
void | operator() (T &t) const |
It call the copy function for each property. | |
Data Fields | |
size_t(& | prp_init )[Np] |
vector for prop initialization | |
|
inline |
constructor
prp_init | properties to initialize |
Definition at line 83 of file se_class3_vector.hpp.
|
inline |
It call the copy function for each property.
t | each member |
Definition at line 95 of file se_class3_vector.hpp.
size_t(& init_prop< Np, vector >::prp_init)[Np] |
vector for prop initialization
Definition at line 75 of file se_class3_vector.hpp.