8 #ifndef OPENFPM_DATA_SRC_UTIL_AGGREGATE_HPP_
9 #define OPENFPM_DATA_SRC_UTIL_AGGREGATE_HPP_
11 #include <boost/fusion/container/vector.hpp>
20 template<
typename ... list>
23 typedef boost::fusion::vector<list...> type;
32 template<
unsigned int i>
typename boost::mpl::at<type,boost::mpl::int_<i>>::type &
get()
34 return boost::fusion::at_c<i>(data);
42 template<
unsigned int i>
const typename boost::mpl::at<type,boost::mpl::int_<i>>::type &
get()
const
44 return boost::fusion::at_c<i>(data);
49 static const unsigned int max_prop = boost::mpl::size<type>::type::value;
aggregate of properties, from a list of object if create a struct that follow the OPENFPM native stru...