]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/histogram/detail/common_type.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / histogram / detail / common_type.hpp
index 848d10a4523f91b7e060f7d3def6b9e3af52c063..bade43d8b90fe7b6c5574d4244032a3511d3bac2 100644 (file)
@@ -30,9 +30,9 @@ using common_axes = mp11::mp_cond<
 
 // Non-PODs rank highest, then floats, than integers; types with more capacity are higher
 template <class Storage>
-static constexpr std::size_t type_rank() {
+constexpr std::size_t type_rank() {
   using T = typename Storage::value_type;
-  return !std::is_pod<T>::value * 10000 + std::is_floating_point<T>::value * 100 +
+  return !std::is_arithmetic<T>::value * 10000 + std::is_floating_point<T>::value * 100 +
          10 * sizeof(T) + 2 * is_array_like<Storage>::value +
          is_vector_like<Storage>::value;
   ;