CNL  2.0.2 (development)
Compositional Numeric Library
set_tag.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_SET_TAG_H)
8 #define CNL_IMPL_NUM_TRAITS_SET_TAG_H
9 
10 #include "../custom_operator/tag.h"
11 
13 namespace cnl {
20  template<typename T, tag OutTag>
21  struct set_tag;
22 
23  namespace _impl {
24  template<typename T, tag OutTag>
25  using set_tag_t = typename set_tag<T, OutTag>::type;
26  }
27 }
28 
29 #endif // CNL_IMPL_NUM_TRAITS_SET_TAG_H
cnl
compositional numeric library
Definition: abort.h:15
cnl::set_tag
meta-function object that transforms a component from one Tag type to another
Definition: set_tag.h:21