7 #if !defined(CNL_IMPL_DUPLEX_INTEGER_REP_OF_H)
8 #define CNL_IMPL_DUPLEX_INTEGER_REP_OF_H
10 #include "../num_traits/to_rep.h"
11 #include "declaration.h"
13 #include <type_traits>
17 template<
typename Upper,
typename Lower>
18 struct rep_of<_impl::duplex_integer<Upper, Lower>> : std::type_identity<Upper> {
21 template<
typename UpperUpper,
typename UpperLower,
typename Lower>
22 struct rep_of<_impl::duplex_integer<_impl::duplex_integer<UpperUpper, UpperLower>, Lower>>
23 : rep_of<_impl::duplex_integer<UpperUpper, UpperLower>> {
27 #endif // CNL_IMPL_DUPLEX_INTEGER_REP_OF_H