OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
is_contiguos< prp > Struct Template Reference

Detailed Description

template<unsigned int ... prp>
struct is_contiguos< prp >

Definition at line 309 of file variadic_to_vmpl.hpp.

Public Types

typedef boost::mpl::range_c< int, first_variadic< prp... >::type::value, last_variadic< prp... >::type::value+1 > rangec
 
typedef boost::mpl::size< rangec >::type size_range
 
typedef boost::mpl::accumulate< rangec, boost::mpl::int_< 0 >, boost::mpl::plus< typenameboost::mpl::placeholders::_2, typenameboost::mpl::placeholders::_1 > >::type accum
 
typedef to_boost_vmpl< prp... >::type prop_vector
 
typedef boost::mpl::accumulate< prop_vector, boost::mpl::int_< 0 >, boost::mpl::plus< typenameboost::mpl::placeholders::_2, typenameboost::mpl::placeholders::_1 > >::type accum_prp
 
typedef boost::mpl::bool_< sizeof...(prp)==size_range::value &&accum_prp::value==accum::value > type
 

Member Typedef Documentation

◆ accum

template<unsigned int ... prp>
typedef boost::mpl::accumulate<rangec,boost::mpl::int_<0>,boost::mpl::plus<typenameboost::mpl::placeholders::_2,typenameboost::mpl::placeholders::_1>>::type is_contiguos< prp >::accum

Definition at line 319 of file variadic_to_vmpl.hpp.

◆ accum_prp

template<unsigned int ... prp>
typedef boost::mpl::accumulate<prop_vector,boost::mpl::int_<0>,boost::mpl::plus<typenameboost::mpl::placeholders::_2,typenameboost::mpl::placeholders::_1>>::type is_contiguos< prp >::accum_prp

Definition at line 327 of file variadic_to_vmpl.hpp.

◆ prop_vector

template<unsigned int ... prp>
typedef to_boost_vmpl<prp...>::type is_contiguos< prp >::prop_vector

Definition at line 321 of file variadic_to_vmpl.hpp.

◆ rangec

template<unsigned int ... prp>
typedef boost::mpl::range_c<int,first_variadic<prp...>::type::value,last_variadic<prp...>::type::value + 1> is_contiguos< prp >::rangec

Definition at line 311 of file variadic_to_vmpl.hpp.

◆ size_range

template<unsigned int ... prp>
typedef boost::mpl::size<rangec>::type is_contiguos< prp >::size_range

Definition at line 313 of file variadic_to_vmpl.hpp.

◆ type

template<unsigned int ... prp>
typedef boost::mpl::bool_<sizeof...(prp) == size_range::value && accum_prp::value == accum::value > is_contiguos< prp >::type

Definition at line 329 of file variadic_to_vmpl.hpp.


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