File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -937,9 +937,16 @@ namespace jkj {
937937 return false ;
938938 }
939939
940+ // https://github.com/jbeder/yaml-cpp/pull/1364/files
941+ template <template <std::size_t > class Info , std::int_least32_t min_exponent,
942+ std::int_least32_t max_exponent, std::size_t current_tier>
943+ constexpr bool is_in_range_v =
944+ min_exponent >= Info<current_tier>::min_exponent &&
945+ max_exponent <= Info<current_tier>::max_exponent;
946+
940947 template <template <stdr::size_t > class Info , stdr::int_least32_t min_exponent,
941948 stdr::int_least32_t max_exponent, stdr::size_t current_tier = 0 ,
942- bool = is_in_range <Info, min_exponent, max_exponent, current_tier>(0 )>
949+ bool = is_in_range_v <Info, min_exponent, max_exponent, current_tier> /* (0) */ >
943950 struct compute_impl ;
944951
945952 template <template <stdr::size_t > class Info , stdr::int_least32_t min_exponent,
You can’t perform that action at this time.
0 commit comments