|
||||
File indexing completed on 2025-01-18 09:38:11
0001 // Copyright 2018-2019 Hans Dembinski 0002 // 0003 // Distributed under the Boost Software License, Version 1.0. 0004 // (See accompanying file LICENSE_1_0.txt 0005 // or copy at http://www.boost.org/LICENSE_1_0.txt) 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 } // namespace histogram 0022 } // namespace boost 0023 0024 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |