@@ -513,9 +513,7 @@ using std::true_type;
513513template <typename T> struct is_float : std::is_floating_point<T> {};
514514#else
515515// / Conditional type.
516- template <bool , typename T, typename > struct conditional {
517- typedef T type;
518- };
516+ template <bool , typename T, typename > struct conditional { typedef T type; };
519517template <typename T, typename F> struct conditional <false , T, F> {
520518 typedef F type;
521519};
@@ -536,9 +534,7 @@ template <> struct is_float<long double> : true_type {};
536534#endif
537535
538536// / Type traits for floating-point bits.
539- template <typename T> struct bits {
540- typedef unsigned char type;
541- };
537+ template <typename T> struct bits { typedef unsigned char type; };
542538template <typename T> struct bits <const T> : bits<T> {};
543539template <typename T> struct bits <volatile T> : bits<T> {};
544540template <typename T> struct bits <const volatile T> : bits<T> {};
@@ -554,14 +550,10 @@ typedef std::uint_fast32_t uint32;
554550typedef std::int_fast32_t int32;
555551
556552// / Unsigned integer of (at least) 32 bits width.
557- template <> struct bits <float > {
558- typedef std::uint_least32_t type;
559- };
553+ template <> struct bits <float > { typedef std::uint_least32_t type; };
560554
561555// / Unsigned integer of (at least) 64 bits width.
562- template <> struct bits <double > {
563- typedef std::uint_least64_t type;
564- };
556+ template <> struct bits <double > { typedef std::uint_least64_t type; };
565557#else
566558// / Unsigned integer of (at least) 16 bits width.
567559typedef unsigned short uint16;
@@ -586,9 +578,7 @@ struct bits<double>
586578 unsigned long , unsigned long long > {};
587579#else
588580// / Unsigned integer of (at least) 64 bits width.
589- template <> struct bits <double > {
590- typedef unsigned long type;
591- };
581+ template <> struct bits <double > { typedef unsigned long type; };
592582#endif
593583#endif
594584
0 commit comments