enum_name
Loading...
Searching...
No Matches
ranges.h
1// Formatting library for C++ - range and tuple support
2//
3// Copyright (c) 2012 - present, Victor Zverovich and {fmt} contributors
4// All rights reserved.
5//
6// For the license information refer to format.h.
7
8#ifndef FMT_RANGES_H_
9#define FMT_RANGES_H_
10
11#include <initializer_list>
12#include <tuple>
13#include <type_traits>
14
15#include "format.h"
16
17FMT_BEGIN_NAMESPACE
18
19namespace detail {
20
21template <typename Range, typename OutputIt>
22auto copy(const Range& range, OutputIt out) -> OutputIt {
23 for (auto it = range.begin(), end = range.end(); it != end; ++it)
24 *out++ = *it;
25 return out;
26}
27
28template <typename OutputIt>
29auto copy(const char* str, OutputIt out) -> OutputIt {
30 while (*str) *out++ = *str++;
31 return out;
32}
33
34template <typename OutputIt> auto copy(char ch, OutputIt out) -> OutputIt {
35 *out++ = ch;
36 return out;
37}
38
39template <typename OutputIt> auto copy(wchar_t ch, OutputIt out) -> OutputIt {
40 *out++ = ch;
41 return out;
42}
43
44// Returns true if T has a std::string-like interface, like std::string_view.
45template <typename T> class is_std_string_like {
46 template <typename U>
47 static auto check(U* p)
48 -> decltype((void)p->find('a'), p->length(), (void)p->data(), int());
49 template <typename> static void check(...);
50
51 public:
52 static constexpr const bool value =
54 std::is_convertible<T, std_string_view<char>>::value ||
55 !std::is_void<decltype(check<T>(nullptr))>::value;
56};
57
58template <typename Char>
59struct is_std_string_like<fmt::basic_string_view<Char>> : std::true_type {};
60
61template <typename T> class is_map {
62 template <typename U> static auto check(U*) -> typename U::mapped_type;
63 template <typename> static void check(...);
64
65 public:
66#ifdef FMT_FORMAT_MAP_AS_LIST // DEPRECATED!
67 static constexpr const bool value = false;
68#else
69 static constexpr const bool value =
70 !std::is_void<decltype(check<T>(nullptr))>::value;
71#endif
72};
73
74template <typename T> class is_set {
75 template <typename U> static auto check(U*) -> typename U::key_type;
76 template <typename> static void check(...);
77
78 public:
79#ifdef FMT_FORMAT_SET_AS_LIST // DEPRECATED!
80 static constexpr const bool value = false;
81#else
82 static constexpr const bool value =
83 !std::is_void<decltype(check<T>(nullptr))>::value && !is_map<T>::value;
84#endif
85};
86
87template <typename... Ts> struct conditional_helper {};
88
89template <typename T, typename _ = void> struct is_range_ : std::false_type {};
90
91#if !FMT_MSC_VERSION || FMT_MSC_VERSION > 1800
92
93# define FMT_DECLTYPE_RETURN(val) \
94 ->decltype(val) { return val; } \
95 static_assert( \
96 true, "") // This makes it so that a semicolon is required after the
97 // macro, which helps clang-format handle the formatting.
98
99// C array overload
100template <typename T, std::size_t N>
101auto range_begin(const T (&arr)[N]) -> const T* {
102 return arr;
103}
104template <typename T, std::size_t N>
105auto range_end(const T (&arr)[N]) -> const T* {
106 return arr + N;
107}
108
109template <typename T, typename Enable = void>
110struct has_member_fn_begin_end_t : std::false_type {};
111
112template <typename T>
113struct has_member_fn_begin_end_t<T, void_t<decltype(std::declval<T>().begin()),
114 decltype(std::declval<T>().end())>>
115 : std::true_type {};
116
117// Member function overload
118template <typename T>
119auto range_begin(T&& rng) FMT_DECLTYPE_RETURN(static_cast<T&&>(rng).begin());
120template <typename T>
121auto range_end(T&& rng) FMT_DECLTYPE_RETURN(static_cast<T&&>(rng).end());
122
123// ADL overload. Only participates in overload resolution if member functions
124// are not found.
125template <typename T>
126auto range_begin(T&& rng)
127 -> enable_if_t<!has_member_fn_begin_end_t<T&&>::value,
128 decltype(begin(static_cast<T&&>(rng)))> {
129 return begin(static_cast<T&&>(rng));
130}
131template <typename T>
132auto range_end(T&& rng) -> enable_if_t<!has_member_fn_begin_end_t<T&&>::value,
133 decltype(end(static_cast<T&&>(rng)))> {
134 return end(static_cast<T&&>(rng));
135}
136
137template <typename T, typename Enable = void>
138struct has_const_begin_end : std::false_type {};
139template <typename T, typename Enable = void>
140struct has_mutable_begin_end : std::false_type {};
141
142template <typename T>
144 T,
145 void_t<
146 decltype(detail::range_begin(std::declval<const remove_cvref_t<T>&>())),
147 decltype(detail::range_end(std::declval<const remove_cvref_t<T>&>()))>>
148 : std::true_type {};
149
150template <typename T>
152 T, void_t<decltype(detail::range_begin(std::declval<T>())),
153 decltype(detail::range_end(std::declval<T>())),
154 // the extra int here is because older versions of MSVC don't
155 // SFINAE properly unless there are distinct types
156 int>> : std::true_type {};
157
158template <typename T>
159struct is_range_<T, void>
160 : std::integral_constant<bool, (has_const_begin_end<T>::value ||
161 has_mutable_begin_end<T>::value)> {};
162# undef FMT_DECLTYPE_RETURN
163#endif
164
165// tuple_size and tuple_element check.
166template <typename T> class is_tuple_like_ {
167 template <typename U>
168 static auto check(U* p) -> decltype(std::tuple_size<U>::value, int());
169 template <typename> static void check(...);
170
171 public:
172 static constexpr const bool value =
173 !std::is_void<decltype(check<T>(nullptr))>::value;
174};
175
176// Check for integer_sequence
177#if defined(__cpp_lib_integer_sequence) || FMT_MSC_VERSION >= 1900
178template <typename T, T... N>
179using integer_sequence = std::integer_sequence<T, N...>;
180template <size_t... N> using index_sequence = std::index_sequence<N...>;
181template <size_t N> using make_index_sequence = std::make_index_sequence<N>;
182#else
183template <typename T, T... N> struct integer_sequence {
184 using value_type = T;
185
186 static FMT_CONSTEXPR auto size() -> size_t { return sizeof...(N); }
187};
188
189template <size_t... N> using index_sequence = integer_sequence<size_t, N...>;
190
191template <typename T, size_t N, T... Ns>
192struct make_integer_sequence : make_integer_sequence<T, N - 1, N - 1, Ns...> {};
193template <typename T, T... Ns>
194struct make_integer_sequence<T, 0, Ns...> : integer_sequence<T, Ns...> {};
195
196template <size_t N>
198#endif
199
200template <typename T>
202
203template <typename T, typename C, bool = is_tuple_like_<T>::value>
205 public:
206 static constexpr const bool value = false;
207};
208template <typename T, typename C> class is_tuple_formattable_<T, C, true> {
209 template <std::size_t... Is>
210 static auto check2(index_sequence<Is...>,
211 integer_sequence<bool, (Is == Is)...>) -> std::true_type;
212 static auto check2(...) -> std::false_type;
213 template <std::size_t... Is>
214 static auto check(index_sequence<Is...>) -> decltype(check2(
216 integer_sequence<bool,
217 (is_formattable<typename std::tuple_element<Is, T>::type,
218 C>::value)...>{}));
219
220 public:
221 static constexpr const bool value =
222 decltype(check(tuple_index_sequence<T>{}))::value;
223};
224
225template <typename Tuple, typename F, size_t... Is>
226FMT_CONSTEXPR void for_each(index_sequence<Is...>, Tuple&& t, F&& f) {
227 using std::get;
228 // Using a free function get<Is>(Tuple) now.
229 const int unused[] = {0, ((void)f(get<Is>(t)), 0)...};
230 ignore_unused(unused);
231}
232
233template <typename Tuple, typename F>
234FMT_CONSTEXPR void for_each(Tuple&& t, F&& f) {
235 for_each(tuple_index_sequence<remove_cvref_t<Tuple>>(),
236 std::forward<Tuple>(t), std::forward<F>(f));
237}
238
239template <typename Tuple1, typename Tuple2, typename F, size_t... Is>
240void for_each2(index_sequence<Is...>, Tuple1&& t1, Tuple2&& t2, F&& f) {
241 using std::get;
242 const int unused[] = {0, ((void)f(get<Is>(t1), get<Is>(t2)), 0)...};
243 ignore_unused(unused);
244}
245
246template <typename Tuple1, typename Tuple2, typename F>
247void for_each2(Tuple1&& t1, Tuple2&& t2, F&& f) {
248 for_each2(tuple_index_sequence<remove_cvref_t<Tuple1>>(),
249 std::forward<Tuple1>(t1), std::forward<Tuple2>(t2),
250 std::forward<F>(f));
251}
252
253namespace tuple {
254// Workaround a bug in MSVC 2019 (v140).
255template <typename Char, typename... T>
256using result_t = std::tuple<formatter<remove_cvref_t<T>, Char>...>;
257
258using std::get;
259template <typename Tuple, typename Char, std::size_t... Is>
260auto get_formatters(index_sequence<Is...>)
261 -> result_t<Char, decltype(get<Is>(std::declval<Tuple>()))...>;
262} // namespace tuple
263
264#if FMT_MSC_VERSION && FMT_MSC_VERSION < 1920
265// Older MSVC doesn't get the reference type correctly for arrays.
266template <typename R> struct range_reference_type_impl {
267 using type = decltype(*detail::range_begin(std::declval<R&>()));
268};
269
270template <typename T, std::size_t N> struct range_reference_type_impl<T[N]> {
271 using type = T&;
272};
273
274template <typename T>
275using range_reference_type = typename range_reference_type_impl<T>::type;
276#else
277template <typename Range>
278using range_reference_type =
279 decltype(*detail::range_begin(std::declval<Range&>()));
280#endif
281
282// We don't use the Range's value_type for anything, but we do need the Range's
283// reference type, with cv-ref stripped.
284template <typename Range>
285using uncvref_type = remove_cvref_t<range_reference_type<Range>>;
286
287template <typename Formatter>
288FMT_CONSTEXPR auto maybe_set_debug_format(Formatter& f, bool set)
289 -> decltype(f.set_debug_format(set)) {
290 f.set_debug_format(set);
291}
292template <typename Formatter>
293FMT_CONSTEXPR void maybe_set_debug_format(Formatter&, ...) {}
294
295// These are not generic lambdas for compatibility with C++11.
296template <typename ParseContext> struct parse_empty_specs {
297 template <typename Formatter> FMT_CONSTEXPR void operator()(Formatter& f) {
298 f.parse(ctx);
299 detail::maybe_set_debug_format(f, true);
300 }
301 ParseContext& ctx;
302};
303template <typename FormatContext> struct format_tuple_element {
304 using char_type = typename FormatContext::char_type;
305
306 template <typename T>
307 void operator()(const formatter<T, char_type>& f, const T& v) {
308 if (i > 0)
309 ctx.advance_to(detail::copy_str<char_type>(separator, ctx.out()));
310 ctx.advance_to(f.format(v, ctx));
311 ++i;
312 }
313
314 int i;
315 FormatContext& ctx;
317};
318
319} // namespace detail
320
321template <typename T> struct is_tuple_like {
322 static constexpr const bool value =
324};
325
326template <typename T, typename C> struct is_tuple_formattable {
327 static constexpr const bool value =
329};
330
331template <typename Tuple, typename Char>
332struct formatter<Tuple, Char,
333 enable_if_t<fmt::is_tuple_like<Tuple>::value &&
334 fmt::is_tuple_formattable<Tuple, Char>::value>> {
335 private:
336 decltype(detail::tuple::get_formatters<Tuple, Char>(
338
339 basic_string_view<Char> separator_ = detail::string_literal<Char, ',', ' '>{};
340 basic_string_view<Char> opening_bracket_ =
341 detail::string_literal<Char, '('>{};
342 basic_string_view<Char> closing_bracket_ =
343 detail::string_literal<Char, ')'>{};
344
345 public:
346 FMT_CONSTEXPR formatter() {}
347
348 FMT_CONSTEXPR void set_separator(basic_string_view<Char> sep) {
349 separator_ = sep;
350 }
351
352 FMT_CONSTEXPR void set_brackets(basic_string_view<Char> open,
354 opening_bracket_ = open;
355 closing_bracket_ = close;
356 }
357
358 template <typename ParseContext>
359 FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) {
360 auto it = ctx.begin();
361 if (it != ctx.end() && *it != '}')
362 FMT_THROW(format_error("invalid format specifier"));
363 detail::for_each(formatters_, detail::parse_empty_specs<ParseContext>{ctx});
364 return it;
365 }
366
367 template <typename FormatContext>
368 auto format(const Tuple& value, FormatContext& ctx) const
369 -> decltype(ctx.out()) {
370 ctx.advance_to(detail::copy_str<Char>(opening_bracket_, ctx.out()));
371 detail::for_each2(
372 formatters_, value,
374 return detail::copy_str<Char>(closing_bracket_, ctx.out());
375 }
376};
377
378template <typename T, typename Char> struct is_range {
379 static constexpr const bool value =
381 !std::is_convertible<T, std::basic_string<Char>>::value &&
382 !std::is_convertible<T, detail::std_string_view<Char>>::value;
383};
384
385namespace detail {
386template <typename Context> struct range_mapper {
388
389 template <typename T,
390 FMT_ENABLE_IF(has_formatter<remove_cvref_t<T>, Context>::value)>
391 static auto map(T&& value) -> T&& {
392 return static_cast<T&&>(value);
393 }
394 template <typename T,
395 FMT_ENABLE_IF(!has_formatter<remove_cvref_t<T>, Context>::value)>
396 static auto map(T&& value)
397 -> decltype(mapper().map(static_cast<T&&>(value))) {
398 return mapper().map(static_cast<T&&>(value));
399 }
400};
401
402template <typename Char, typename Element>
404 formatter<remove_cvref_t<decltype(range_mapper<buffer_context<Char>>{}.map(
405 std::declval<Element>()))>,
406 Char>;
407
408template <typename R>
409using maybe_const_range =
410 conditional_t<has_const_begin_end<R>::value, const R, R>;
411
412// Workaround a bug in MSVC 2015 and earlier.
413#if !FMT_MSC_VERSION || FMT_MSC_VERSION >= 1910
414template <typename R, typename Char>
416 : is_formattable<uncvref_type<maybe_const_range<R>>, Char> {};
417#endif
418} // namespace detail
419
420template <typename...> struct conjunction : std::true_type {};
421template <typename P> struct conjunction<P> : P {};
422template <typename P1, typename... Pn>
423struct conjunction<P1, Pn...>
424 : conditional_t<bool(P1::value), conjunction<Pn...>, P1> {};
425
426template <typename T, typename Char, typename Enable = void>
428
429template <typename T, typename Char>
431 T, Char,
432 enable_if_t<conjunction<std::is_same<T, remove_cvref_t<T>>,
433 is_formattable<T, Char>>::value>> {
434 private:
436 basic_string_view<Char> separator_ = detail::string_literal<Char, ',', ' '>{};
437 basic_string_view<Char> opening_bracket_ =
438 detail::string_literal<Char, '['>{};
439 basic_string_view<Char> closing_bracket_ =
440 detail::string_literal<Char, ']'>{};
441
442 public:
443 FMT_CONSTEXPR range_formatter() {}
444
445 FMT_CONSTEXPR auto underlying() -> detail::range_formatter_type<Char, T>& {
446 return underlying_;
447 }
448
449 FMT_CONSTEXPR void set_separator(basic_string_view<Char> sep) {
450 separator_ = sep;
451 }
452
453 FMT_CONSTEXPR void set_brackets(basic_string_view<Char> open,
455 opening_bracket_ = open;
456 closing_bracket_ = close;
457 }
458
459 template <typename ParseContext>
460 FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) {
461 auto it = ctx.begin();
462 auto end = ctx.end();
463
464 if (it != end && *it == 'n') {
465 set_brackets({}, {});
466 ++it;
467 }
468
469 if (it != end && *it != '}') {
470 if (*it != ':') FMT_THROW(format_error("invalid format specifier"));
471 ++it;
472 } else {
473 detail::maybe_set_debug_format(underlying_, true);
474 }
475
476 ctx.advance_to(it);
477 return underlying_.parse(ctx);
478 }
479
480 template <typename R, typename FormatContext>
481 auto format(R&& range, FormatContext& ctx) const -> decltype(ctx.out()) {
483 auto out = ctx.out();
484 out = detail::copy_str<Char>(opening_bracket_, out);
485 int i = 0;
486 auto it = detail::range_begin(range);
487 auto end = detail::range_end(range);
488 for (; it != end; ++it) {
489 if (i > 0) out = detail::copy_str<Char>(separator_, out);
490 ctx.advance_to(out);
491 auto&& item = *it;
492 out = underlying_.format(mapper.map(item), ctx);
493 ++i;
494 }
495 out = detail::copy_str<Char>(closing_bracket_, out);
496 return out;
497 }
498};
499
500enum class range_format { disabled, map, set, sequence, string, debug_string };
501
502namespace detail {
503template <typename T>
505 : std::integral_constant<range_format,
506 std::is_same<uncvref_type<T>, T>::value
507 ? range_format::disabled
508 : is_map<T>::value ? range_format::map
509 : is_set<T>::value ? range_format::set
510 : range_format::sequence> {};
511
512template <range_format K, typename R, typename Char, typename Enable = void>
514
515template <range_format K>
516using range_format_constant = std::integral_constant<range_format, K>;
517
518template <range_format K, typename R, typename Char>
520 K, R, Char,
521 enable_if_t<(K == range_format::sequence || K == range_format::map ||
522 K == range_format::set)>> {
523 using range_type = detail::maybe_const_range<R>;
525
526 FMT_CONSTEXPR range_default_formatter() { init(range_format_constant<K>()); }
527
528 FMT_CONSTEXPR void init(range_format_constant<range_format::set>) {
529 underlying_.set_brackets(detail::string_literal<Char, '{'>{},
530 detail::string_literal<Char, '}'>{});
531 }
532
533 FMT_CONSTEXPR void init(range_format_constant<range_format::map>) {
534 underlying_.set_brackets(detail::string_literal<Char, '{'>{},
535 detail::string_literal<Char, '}'>{});
536 underlying_.underlying().set_brackets({}, {});
537 underlying_.underlying().set_separator(
538 detail::string_literal<Char, ':', ' '>{});
539 }
540
541 FMT_CONSTEXPR void init(range_format_constant<range_format::sequence>) {}
542
543 template <typename ParseContext>
544 FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) {
545 return underlying_.parse(ctx);
546 }
547
548 template <typename FormatContext>
549 auto format(range_type& range, FormatContext& ctx) const
550 -> decltype(ctx.out()) {
551 return underlying_.format(range, ctx);
552 }
553};
554} // namespace detail
555
556template <typename T, typename Char, typename Enable = void>
558 : conditional_t<
559 is_range<T, Char>::value, detail::range_format_kind_<T>,
560 std::integral_constant<range_format, range_format::disabled>> {};
561
562template <typename R, typename Char>
564 R, Char,
565 enable_if_t<conjunction<bool_constant<range_format_kind<R, Char>::value !=
566 range_format::disabled>
567// Workaround a bug in MSVC 2015 and earlier.
568#if !FMT_MSC_VERSION || FMT_MSC_VERSION >= 1910
569 ,
571#endif
572 >::value>>
573 : detail::range_default_formatter<range_format_kind<R, Char>::value, R,
574 Char> {
575};
576
577template <typename Char, typename... T> struct tuple_join_view : detail::view {
578 const std::tuple<T...>& tuple;
580
582 : tuple(t), sep{s} {}
583};
584
585// Define FMT_TUPLE_JOIN_SPECIFIERS to enable experimental format specifiers
586// support in tuple_join. It is disabled by default because of issues with
587// the dynamic width and precision.
588#ifndef FMT_TUPLE_JOIN_SPECIFIERS
589# define FMT_TUPLE_JOIN_SPECIFIERS 0
590#endif
591
592template <typename Char, typename... T>
593struct formatter<tuple_join_view<Char, T...>, Char> {
594 template <typename ParseContext>
595 FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) {
596 return do_parse(ctx, std::integral_constant<size_t, sizeof...(T)>());
597 }
598
599 template <typename FormatContext>
600 auto format(const tuple_join_view<Char, T...>& value,
601 FormatContext& ctx) const -> typename FormatContext::iterator {
602 return do_format(value, ctx,
603 std::integral_constant<size_t, sizeof...(T)>());
604 }
605
606 private:
608
609 template <typename ParseContext>
610 FMT_CONSTEXPR auto do_parse(ParseContext& ctx,
611 std::integral_constant<size_t, 0>)
612 -> decltype(ctx.begin()) {
613 return ctx.begin();
614 }
615
616 template <typename ParseContext, size_t N>
617 FMT_CONSTEXPR auto do_parse(ParseContext& ctx,
618 std::integral_constant<size_t, N>)
619 -> decltype(ctx.begin()) {
620 auto end = ctx.begin();
621#if FMT_TUPLE_JOIN_SPECIFIERS
622 end = std::get<sizeof...(T) - N>(formatters_).parse(ctx);
623 if (N > 1) {
624 auto end1 = do_parse(ctx, std::integral_constant<size_t, N - 1>());
625 if (end != end1)
626 FMT_THROW(format_error("incompatible format specs for tuple elements"));
627 }
628#endif
629 return end;
630 }
631
632 template <typename FormatContext>
633 auto do_format(const tuple_join_view<Char, T...>&, FormatContext& ctx,
634 std::integral_constant<size_t, 0>) const ->
635 typename FormatContext::iterator {
636 return ctx.out();
637 }
638
639 template <typename FormatContext, size_t N>
640 auto do_format(const tuple_join_view<Char, T...>& value, FormatContext& ctx,
641 std::integral_constant<size_t, N>) const ->
642 typename FormatContext::iterator {
643 auto out = std::get<sizeof...(T) - N>(formatters_)
644 .format(std::get<sizeof...(T) - N>(value.tuple), ctx);
645 if (N > 1) {
646 out = std::copy(value.sep.begin(), value.sep.end(), out);
647 ctx.advance_to(out);
648 return do_format(value, ctx, std::integral_constant<size_t, N - 1>());
649 }
650 return out;
651 }
652};
653
654namespace detail {
655// Check if T has an interface like a container adaptor (e.g. std::stack,
656// std::queue, std::priority_queue).
657template <typename T> class is_container_adaptor_like {
658 template <typename U> static auto check(U* p) -> typename U::container_type;
659 template <typename> static void check(...);
660
661 public:
662 static constexpr const bool value =
663 !std::is_void<decltype(check<T>(nullptr))>::value;
664};
665
666template <typename Container> struct all {
667 const Container& c;
668 auto begin() const -> typename Container::const_iterator { return c.begin(); }
669 auto end() const -> typename Container::const_iterator { return c.end(); }
670};
671} // namespace detail
672
673template <typename T, typename Char>
675 T, Char,
676 enable_if_t<conjunction<detail::is_container_adaptor_like<T>,
677 bool_constant<range_format_kind<T, Char>::value ==
678 range_format::disabled>>::value>>
679 : formatter<detail::all<typename T::container_type>, Char> {
681 template <typename FormatContext>
682 auto format(const T& t, FormatContext& ctx) const -> decltype(ctx.out()) {
683 struct getter : T {
684 static auto get(const T& t) -> all {
685 return {t.*(&getter::c)}; // Access c through the derived class.
686 }
687 };
688 return formatter<all>::format(getter::get(t), ctx);
689 }
690};
691
692FMT_BEGIN_EXPORT
693
705template <typename... T>
706FMT_CONSTEXPR auto join(const std::tuple<T...>& tuple, string_view sep)
707 -> tuple_join_view<char, T...> {
708 return {tuple, sep};
709}
710
711template <typename... T>
712FMT_CONSTEXPR auto join(const std::tuple<T...>& tuple,
714 -> tuple_join_view<wchar_t, T...> {
715 return {tuple, sep};
716}
717
729template <typename T>
730auto join(std::initializer_list<T> list, string_view sep)
732 return join(std::begin(list), std::end(list), sep);
733}
734
735FMT_END_EXPORT
736FMT_END_NAMESPACE
737
738#endif // FMT_RANGES_H_
Definition core.h:415
Definition ranges.h:657
Definition ranges.h:61
Definition ranges.h:74
Definition ranges.h:45
Definition ranges.h:204
Definition ranges.h:166
Definition core.h:1257
Definition doctest.h:539
Definition ranges.h:420
Definition ranges.h:666
Definition core.h:1355
Definition ranges.h:87
Definition ranges.h:303
Definition ranges.h:138
Definition ranges.h:110
Definition ranges.h:140
Definition ranges.h:183
Definition ranges.h:416
Definition ranges.h:89
Definition core.h:565
Definition ranges.h:192
Definition ranges.h:296
Definition ranges.h:513
Definition ranges.h:510
Definition ranges.h:386
Definition format.h:289
Definition core.h:1154
Definition core.h:1087
Definition ranges.h:378
Definition ranges.h:326
Definition ranges.h:321
Definition format.h:4230
Definition ranges.h:560
Definition ranges.h:427
Definition ranges.h:577