OpenFPM_data  0.1.0
Project that contain the implementation and interfaces for basic structure like vectors, grids, graph ... .
 All Data Structures Namespaces Functions Variables Typedefs Friends
util.hpp
1 /*
2  * util.hpp
3  *
4  * Created on: Jul 16, 2015
5  * Author: i-bird
6  */
7 
8 #ifndef SRC_GRID_UTIL_HPP_
9 #define SRC_GRID_UTIL_HPP_
10 
11 #include "util/common.hpp"
12 
13 template<typename T, typename Sfinae = void>
14 struct is_grid: std::false_type {};
15 
16 
26 template<typename T>
27 struct is_grid<T, typename Void< typename T::yes_i_am_grid>::type> : std::true_type
28 {};
29 
30 
31 #endif /* SRC_GRID_UTIL_HPP_ */
Definition: util.hpp:14
Void structure.
Definition: common.hpp:40