Warning, file /include/boost/histogram/detail/convert_integer.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007 #ifndef BOOST_HISTOGRAM_DETAIL_CONVERT_INTEGER_HPP
0008 #define BOOST_HISTOGRAM_DETAIL_CONVERT_INTEGER_HPP
0009
0010 #include <type_traits>
0011
0012 namespace boost {
0013 namespace histogram {
0014 namespace detail {
0015
0016 template <class T, class U>
0017 using convert_integer =
0018 std::conditional_t<std::is_integral<std::decay_t<T>>::value, U, T>;
0019
0020 }
0021 }
0022 }
0023
0024 #endif