OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
has_pack_encap.hpp
1/*
2 * has_pack_encap.hpp
3 *
4 * Created on: Mar 3, 2016
5 * Author: i-bird
6 */
7
8#ifndef OPENFPM_DATA_SRC_PACKER_UNPACKER_HAS_PACK_ENCAP_HPP_
9#define OPENFPM_DATA_SRC_PACKER_UNPACKER_HAS_PACK_ENCAP_HPP_
10
11#include "has_pack_agg.hpp"
12#include "prp_all_zero.hpp"
13
14
15#include <boost/fusion/mpl.hpp>
16
17
18template<class T, int ... prp>
20{
21 typedef typename prp_all_zero<T,sizeof...(prp) == 0,prp...>::type vprp;
22 //typedef typename to_boost_vmpl<prp...>::type vprp;
23 typedef typename has_pack_agg_impl<typename T::T_type,sizeof ... (prp), boost::mpl::bool_<false> , vprp>::result result;
24};
25
26
27#endif /* OPENFPM_DATA_SRC_PACKER_UNPACKER_HAS_PACK_ENCAP_HPP_ */
Generate the array specializing ArrayHolder.
Structure to convert a variadic template into boost::mpl::vector.