Jet  v1.3.3
type_helpers.h
Go to the documentation of this file.
1 // Copyright (c) 2018 Doyub Kim
2 //
3 // I am making my contributions/submissions to this project solely in my
4 // personal capacity and am not conveying any rights to any intellectual
5 // property of any third parties.
6 
7 #ifndef INCLUDE_JET_TYPE_HELPERS_H_
8 #define INCLUDE_JET_TYPE_HELPERS_H_
9 
10 namespace jet {
11 
13 template <typename T>
14 struct ScalarType {
15  typedef T value;
16 };
17 
18 } // namespace jet
19 
20 #endif // INCLUDE_JET_TYPE_HELPERS_H_
jet::ScalarType::value
T value
Definition: type_helpers.h:15
jet
Definition: advection_solver2.h:18
jet::ScalarType
Returns the type of the value itself.
Definition: type_helpers.h:14