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

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

Detailed Description

template<typename T>
struct has_vector_kernel< T, typename Void< typename T::vector_kernel >::type >

has_vector_kernel 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::vector_kernel is a valid type

Definition at line 128 of file common.hpp.

#include <common.hpp>

+ Inheritance diagram for has_vector_kernel< T, typename Void< typename T::vector_kernel >::type >:

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