mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-09 06:00:07 +00:00
Comment style
This commit is contained in:
parent
6e0f1399d7
commit
3c98f1a4cd
@ -222,7 +222,7 @@ template <class Tuple, class F> void for_each(Tuple&& tup, F&& f) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if FMT_MSC_VER
|
#if FMT_MSC_VER
|
||||||
// older MSVC doesn't get the reference type correctly for arrays
|
// Older MSVC doesn't get the reference type correctly for arrays.
|
||||||
template <typename R> struct range_reference_type_impl {
|
template <typename R> struct range_reference_type_impl {
|
||||||
using type = decltype(*detail::range_begin(std::declval<R&>()));
|
using type = decltype(*detail::range_begin(std::declval<R&>()));
|
||||||
};
|
};
|
||||||
@ -240,7 +240,7 @@ using range_reference_type =
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// We don't use the Range's value_type for anything, but we do need the Range's
|
// We don't use the Range's value_type for anything, but we do need the Range's
|
||||||
// reference type, with cv-ref stripped
|
// reference type, with cv-ref stripped.
|
||||||
template <typename Range>
|
template <typename Range>
|
||||||
using uncvref_type = remove_cvref_t<range_reference_type<Range>>;
|
using uncvref_type = remove_cvref_t<range_reference_type<Range>>;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user