expose.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 2019 INRIA
3  */
4 
5 #ifndef __eigenpy_expose_hpp__
6 #define __eigenpy_expose_hpp__
7 
9 
10 namespace eigenpy {
14 template <typename T>
15 struct call {
16  static inline void expose() { T::expose(); }
17 };
18 
22 template <typename T>
23 inline void expose() {
24  if (!register_symbolic_link_to_registered_type<T>()) call<T>::expose();
25 }
26 } // namespace eigenpy
27 
28 #endif // ifndef __eigenpy_expose_hpp__
Allows a template specialization.
Definition: expose.hpp:15
void expose()
Call the expose function of a given type T.
Definition: expose.hpp:23
static void expose()
Definition: expose.hpp:16


eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Fri Jun 2 2023 02:10:26