CNL  2.0.2 (development)
Compositional Numeric Library
rep_of.h
1 
2 // Copyright John McFarlane 2019.
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file ../LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
6 
7 #if !defined(CNL_IMPL_NUM_TRAITS_REP_OF_H)
8 #define CNL_IMPL_NUM_TRAITS_REP_OF_H
9 
11 namespace cnl {
22  template<typename T>
23  struct rep_of;
24 
25  namespace _impl {
26  template<typename T>
27  using rep_of_t = typename rep_of<T>::type;
28  }
29 }
30 
31 #endif // CNL_IMPL_NUM_TRAITS_REP_OF_H
cnl::rep_of
meta-function object that returns the Rep type of a component
Definition: rep_of.h:23
cnl
compositional numeric library
Definition: abort.h:15