Skip to content

Commit a095229

Browse files
committed
var-template
1 parent a944bdd commit a095229

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

libcxx/include/__algorithm/radix_sort.h

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
#include <__numeric/partial_sum.h>
4444
#include <__type_traits/decay.h>
4545
#include <__type_traits/enable_if.h>
46-
#include <__type_traits/integral_constant.h>
4746
#include <__type_traits/invoke.h>
4847
#include <__type_traits/is_assignable.h>
4948
#include <__type_traits/is_enum.h>
@@ -386,14 +385,12 @@ _LIBCPP_HIDE_FROM_ABI constexpr auto __to_ordered_integral(_Enum __e) = delete;
386385
inline _LIBCPP_HIDE_FROM_ABI constexpr auto __to_ordered_integral(long double) = delete;
387386

388387
template <class _Tp, class = void>
389-
struct __is_ordered_integer_representable : false_type {};
388+
inline const bool __is_ordered_integer_representable_v = false;
390389

391390
template <class _Tp>
392-
struct __is_ordered_integer_representable<_Tp, __void_t<decltype(std::__to_ordered_integral(std::declval<_Tp>()))>>
393-
: true_type {};
394-
395-
template <class _Tp>
396-
inline constexpr auto __is_ordered_integer_representable_v = __is_ordered_integer_representable<_Tp>::value;
391+
inline const bool
392+
__is_ordered_integer_representable_v<_Tp, __void_t<decltype(std::__to_ordered_integral(std::declval<_Tp>()))>> =
393+
true;
397394

398395
struct __low_byte_fn {
399396
template <class _Ip>

0 commit comments

Comments
 (0)