Code-Eli  0.3.6
dual_traits.hpp
Go to the documentation of this file.
1 /*********************************************************************************
2 * Copyright (c) 2013 David D. Marshall <ddmarsha@calpoly.edu>
3 *
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * which accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * David D. Marshall - initial code and implementation
11 ********************************************************************************/
12 
13 #ifndef eli_mutil_ad_dual_traits_hpp
14 #define eli_mutil_ad_dual_traits_hpp
15 
16 #include "eli/code_eli.hpp"
17 
18 #include "eli/util/traits.hpp"
19 
20 namespace eli
21 {
22  namespace mutil
23  {
24  namespace ad
25  {
26  // forward declare constant value type
27  namespace dual_number
28  {
29  template <typename data__> class constant;
30  }
31  }
32  }
33 }
34 
35 namespace eli
36 {
37  namespace util
38  {
39  template <typename data__>
41  {
42  public:
43  // how to refer to a constant reference
45 
46  // how to refer to a reference
48  };
49  }
50 }
51 
52 #endif
Definition: traits.hpp:41
Definition: math.hpp:20
Definition: dual_number.hpp:36
eli::mutil::ad::dual_number::constant< data__ > const_expr_ref
Definition: dual_traits.hpp:44
eli::mutil::ad::dual_number::constant< data__ > expr_ref
Definition: dual_traits.hpp:47