OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
has_posMask< T, typename Void< decltype(T::stag_mask)>::type > Struct Template Reference

has_data check if a type has defined a member data More...

Detailed Description

template<typename T>
struct has_posMask< T, typename Void< decltype(T::stag_mask)>::type >

has_data check if a type has defined a member data

Example

struct test_has_data
{
float data;
};
struct test_no_has_data
{
};
BOOST_REQUIRE_EQUAL(val, true);
BOOST_REQUIRE_EQUAL(val, false);

return true if T::type is a valid type

Definition at line 134 of file common.hpp.

#include <common.hpp>

+ Inheritance diagram for has_posMask< T, typename Void< decltype(T::stag_mask)>::type >:

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