C++ Library Extensions 2022.12.09
To help learn modern C++ programming
tpf::safe_type::hidden Namespace Reference

Typedefs

template<typename T , typename = types::enable_if_integral_t<T>>
using unsigned_integral_t = types::make_unsigned_integral_t< T >
 
template<typename T , typename = types::enable_if_integral_t<T>>
using signed_integral_t = types::make_signed_integral_t< T >
 
template<typename S , typename T >
using common_t = types::common_type_t< S, T >
 
template<typename S , typename T , typename = types::enable_if_integral_t<S>, typename = types::enable_if_integral_t<T>>
using signed_common_t = signed_integral_t< common_t< S, T > >
 
template<typename S , typename T , typename = types::enable_if_integral_t<S>, typename = types::enable_if_integral_t<T>>
using unsigned_common_t = unsigned_integral_t< common_t< S, T > >
 

Typedef Documentation

◆ common_t

template<typename S , typename T >
using tpf::safe_type::hidden::common_t = typedef types::common_type_t<S, T>

Definition at line 80 of file tpf_safe_type.hpp.

◆ signed_common_t

template<typename S , typename T , typename = types::enable_if_integral_t<S>, typename = types::enable_if_integral_t<T>>
using tpf::safe_type::hidden::signed_common_t = typedef signed_integral_t<common_t<S, T> >

Definition at line 85 of file tpf_safe_type.hpp.

◆ signed_integral_t

template<typename T , typename = types::enable_if_integral_t<T>>
using tpf::safe_type::hidden::signed_integral_t = typedef types::make_signed_integral_t<T>

Definition at line 77 of file tpf_safe_type.hpp.

◆ unsigned_common_t

template<typename S , typename T , typename = types::enable_if_integral_t<S>, typename = types::enable_if_integral_t<T>>
using tpf::safe_type::hidden::unsigned_common_t = typedef unsigned_integral_t<common_t<S, T> >

Definition at line 90 of file tpf_safe_type.hpp.

◆ unsigned_integral_t

template<typename T , typename = types::enable_if_integral_t<T>>
using tpf::safe_type::hidden::unsigned_integral_t = typedef types::make_unsigned_integral_t<T>

Definition at line 74 of file tpf_safe_type.hpp.