Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:38:12

0001 // Copyright 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_PRIORITY_HPP
0008 #define BOOST_HISTOGRAM_DETAIL_PRIORITY_HPP
0009 
0010 #include <cstdint>
0011 
0012 namespace boost {
0013 namespace histogram {
0014 namespace detail {
0015 
0016 // priority is used to priorise ambiguous overloads
0017 
0018 template <std::size_t N>
0019 struct priority : priority<(N - 1)> {};
0020 
0021 template <>
0022 struct priority<0> {};
0023 
0024 } // namespace detail
0025 } // namespace histogram
0026 } // namespace boost
0027 
0028 #endif