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_VECTOR_UTIL_HPP_
9 #define SRC_VECTOR_UTIL_HPP_
10 
11 #include "util/common.hpp"
12 
13 template<typename T, typename Sfinae = void>
14 struct is_vector: std::false_type {};
15 
16 
26 template<typename T>
27 struct is_vector<T, typename Void< typename T::yes_i_am_vector>::type> : std::true_type
28 {};
29 
30 
31 
32 #endif /* SRC_VECTOR_UTIL_HPP_ */
Void structure.
Definition: common.hpp:40