CNL  2.0.2 (development)
Compositional Numeric Library
tag_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_TAG_OF_H)
8 #define CNL_IMPL_NUM_TRAITS_TAG_OF_H
9 
11 namespace cnl {
20  template<typename T>
21  struct tag_of;
22 
23  namespace _impl {
24  template<typename T>
25  using tag_of_t = typename tag_of<T>::type;
26  }
27 }
28 
29 #endif // CNL_IMPL_NUM_TRAITS_TAG_OF_H
cnl::tag_of
meta-function object that returns the Tag type of a component
Definition: tag_of.h:21
cnl
compositional numeric library
Definition: abort.h:15