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

has_value_type_ofp check if a type has defined a member value_type More...

Detailed Description

template<typename T>
struct has_value_type_ofp< T, typename Void< typename T::value_type >::type >

has_value_type_ofp check if a type has defined a member value_type

Example

struct test_has_value_type_ofp
{
typedef int value_type;
};
struct test_has_no_value_type
{
};
BOOST_REQUIRE_EQUAL(val, true);
BOOST_REQUIRE_EQUAL(val, false);

return true if T::value_type is a valid type

Definition at line 344 of file common.hpp.

#include <common.hpp>

+ Inheritance diagram for has_value_type_ofp< T, typename Void< typename T::value_type >::type >:

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