- 3.0.2 core module.
TraitSelector.h
Go to the documentation of this file.
1 /**********************************************************************************************************************
2 This file is part of the Control Toolbox (https://github.com/ethz-adrl/control-toolbox), copyright by ETH Zurich.
3 Licensed under the BSD-2 license (see LICENSE file in main directory)
4 **********************************************************************************************************************/
5 
6 #pragma once
7 
8 #include "FloatTrait.h"
9 #include "DoubleTrait.h"
10 
11 namespace ct {
12 namespace core {
13 namespace tpl {
14 
15 template <typename SCALAR>
17 {
18 };
19 
20 template <>
21 struct TraitSelector<double>
22 {
24 };
25 
26 template <>
27 struct TraitSelector<float>
28 {
30 };
31 
32 } //namespace tpl
33 } // namespace core
34 } // namespace ct
Trait defining basic math functions for float types.
Definition: FloatTrait.h:13
internal::FloatTrait Trait
Definition: TraitSelector.h:29
Definition: TraitSelector.h:16
internal::DoubleTrait Trait
Definition: TraitSelector.h:23
Trait defining basic math functions for double types.
Definition: DoubleTrait.h:13