OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
is_encap< T, typename Void< typename T::yes_i_am_encap >::type > Struct Template Reference

is_encap check if the type is an encap type More...

Detailed Description

template<typename T>
struct is_encap< T, typename Void< typename T::yes_i_am_encap >::type >

is_encap check if the type is an encap type

Example

struct stub_object
{
float a;
double b;
};
BOOST_REQUIRE_EQUAL( val ,true);
BOOST_REQUIRE_EQUAL( val , true);
BOOST_REQUIRE_EQUAL( val ,true);
BOOST_REQUIRE_EQUAL( val ,true);
BOOST_REQUIRE_EQUAL( val , true);
BOOST_REQUIRE_EQUAL( val ,true);
BOOST_REQUIRE_EQUAL( val, false);
val = is_encap< stub_object > ::value;
BOOST_REQUIRE_EQUAL( val, false);
Transform the boost::fusion::vector into memory specification (memory_traits)
Transform the boost::fusion::vector into memory specification (memory_traits)

return true if T is an encap

Definition at line 919 of file Encap.hpp.

#include <Encap.hpp>

+ Inheritance diagram for is_encap< T, typename Void< typename T::yes_i_am_encap >::type >:

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