@@ -429,7 +429,7 @@ public:
429
429
430
430
typedef steady_clock high_resolution_clock;
431
431
432
- // 25.7.8, local time // C++20
432
+ // [time.clock.local] local time // C++20
433
433
struct local_t {};
434
434
template<class Duration>
435
435
using local_time = time_point<local_t, Duration>;
@@ -440,10 +440,10 @@ template<class charT, class traits, class Duration> // C++20
440
440
basic_ostream<charT, traits>&
441
441
operator<<(basic_ostream<charT, traits>& os, const local_time<Duration>& tp);
442
442
443
- // 25.8.2, class last_spec // C++20
443
+ // [time.cal.last] class last_spec // C++20
444
444
struct last_spec;
445
445
446
- // 25.8.3, class day // C++20
446
+ // [time.cal.day] class day // C++20
447
447
448
448
class day;
449
449
constexpr bool operator==(const day& x, const day& y) noexcept;
@@ -456,7 +456,7 @@ template<class charT, class traits>
456
456
basic_ostream<charT, traits>&
457
457
operator<<(basic_ostream<charT, traits>& os, const day& d);
458
458
459
- // 25.8.4, class month // C++20
459
+ // [time.cal.month] class month // C++20
460
460
class month;
461
461
constexpr bool operator==(const month& x, const month& y) noexcept;
462
462
constexpr strong_ordering operator<=>(const month& x, const month& y) noexcept;
@@ -469,7 +469,7 @@ template<class charT, class traits>
469
469
basic_ostream<charT, traits>&
470
470
operator<<(basic_ostream<charT, traits>& os, const month& m);
471
471
472
- // 25.8.5, class year // C++20
472
+ // [time.cal.year] class year // C++20
473
473
class year;
474
474
constexpr bool operator==(const year& x, const year& y) noexcept;
475
475
constexpr strong_ordering operator<=>(const year& x, const year& y) noexcept;
@@ -482,7 +482,7 @@ template<class charT, class traits>
482
482
basic_ostream<charT, traits>&
483
483
operator<<(basic_ostream<charT, traits>& os, const year& y);
484
484
485
- // 25.8.6, class weekday // C++20
485
+ // [time.cal.wd] class weekday // C++20
486
486
class weekday;
487
487
488
488
constexpr bool operator==(const weekday& x, const weekday& y) noexcept;
@@ -494,7 +494,7 @@ template<class charT, class traits>
494
494
basic_ostream<charT, traits>&
495
495
operator<<(basic_ostream<charT, traits>& os, const weekday& wd);
496
496
497
- // 25.8.7, class weekday_indexed // C++20
497
+ // [time.cal.wdidx] class weekday_indexed // C++20
498
498
499
499
class weekday_indexed;
500
500
constexpr bool operator==(const weekday_indexed& x, const weekday_indexed& y) noexcept;
@@ -503,7 +503,7 @@ template<class charT, class traits>
503
503
basic_ostream<charT, traits>&
504
504
operator<<(basic_ostream<charT, traits>& os, const weekday_indexed& wdi);
505
505
506
- // 25.8.8, class weekday_last // C++20
506
+ // [time.cal.wdlast] class weekday_last // C++20
507
507
class weekday_last;
508
508
509
509
constexpr bool operator==(const weekday_last& x, const weekday_last& y) noexcept;
@@ -512,7 +512,7 @@ template<class charT, class traits>
512
512
basic_ostream<charT, traits>&
513
513
operator<<(basic_ostream<charT, traits>& os, const weekday_last& wdl);
514
514
515
- // 25.8.9, class month_day // C++20
515
+ // [time.cal.md] class month_day // C++20
516
516
class month_day;
517
517
518
518
constexpr bool operator==(const month_day& x, const month_day& y) noexcept;
@@ -522,7 +522,7 @@ template<class charT, class traits>
522
522
basic_ostream<charT, traits>&
523
523
operator<<(basic_ostream<charT, traits>& os, const month_day& md);
524
524
525
- // 25.8.10, class month_day_last // C++20
525
+ // [time.cal.mdlast] class month_day_last // C++20
526
526
class month_day_last;
527
527
528
528
constexpr bool operator==(const month_day_last& x, const month_day_last& y) noexcept;
@@ -532,7 +532,7 @@ template<class charT, class traits>
532
532
basic_ostream<charT, traits>&
533
533
operator<<(basic_ostream<charT, traits>& os, const month_day_last& mdl);
534
534
535
- // 25.8.11, class month_weekday // C++20
535
+ // [time.cal.mwd] class month_weekday // C++20
536
536
class month_weekday;
537
537
538
538
constexpr bool operator==(const month_weekday& x, const month_weekday& y) noexcept;
@@ -541,7 +541,7 @@ template<class charT, class traits>
541
541
basic_ostream<charT, traits>&
542
542
operator<<(basic_ostream<charT, traits>& os, const month_weekday& mwd);
543
543
544
- // 25.8.12, class month_weekday_last // C++20
544
+ // [time.cal.mwdlast] class month_weekday_last // C++20
545
545
class month_weekday_last;
546
546
547
547
constexpr bool operator==(const month_weekday_last& x, const month_weekday_last& y) noexcept;
@@ -551,7 +551,7 @@ template<class charT, class traits>
551
551
operator<<(basic_ostream<charT, traits>& os, const month_weekday_last& mwdl);
552
552
553
553
554
- // 25.8.13, class year_month // C++20
554
+ // [time.cal.ym] class year_month // C++20
555
555
class year_month;
556
556
557
557
constexpr bool operator==(const year_month& x, const year_month& y) noexcept;
@@ -569,7 +569,7 @@ template<class charT, class traits>
569
569
basic_ostream<charT, traits>&
570
570
operator<<(basic_ostream<charT, traits>& os, const year_month& ym);
571
571
572
- // 25.8.14, class year_month_day class // C++20
572
+ // [time.cal.ymd] class year_month_day class // C++20
573
573
year_month_day;
574
574
575
575
constexpr bool operator==(const year_month_day& x, const year_month_day& y) noexcept;
@@ -586,7 +586,7 @@ template<class charT, class traits>
586
586
basic_ostream<charT, traits>&
587
587
operator<<(basic_ostream<charT, traits>& os, const year_month_day& ymd);
588
588
589
- // 25.8.15, class year_month_day_last // C++20
589
+ // [time.cal.ymdlast] class year_month_day_last // C++20
590
590
class year_month_day_last;
591
591
592
592
constexpr bool operator==(const year_month_day_last& x, const year_month_day_last& y) noexcept;
@@ -609,7 +609,7 @@ template<class charT, class traits>
609
609
basic_ostream<charT, traits>&
610
610
operator<<(basic_ostream<charT, traits>& os, const year_month_day_last& ymdl);
611
611
612
- // 25.8.16, class year_month_weekday // C++20
612
+ // [time.cal.ymwd] class year_month_weekday // C++20
613
613
class year_month_weekday;
614
614
615
615
constexpr bool operator==(const year_month_weekday& x,
@@ -632,7 +632,7 @@ template<class charT, class traits>
632
632
basic_ostream<charT, traits>&
633
633
operator<<(basic_ostream<charT, traits>& os, const year_month_weekday& ymwd);
634
634
635
- // 25.8.17, class year_month_weekday_last // C++20
635
+ // [time.cal.ymwdlast] class year_month_weekday_last // C++20
636
636
class year_month_weekday_last;
637
637
638
638
constexpr bool operator==(const year_month_weekday_last& x,
@@ -654,7 +654,7 @@ template<class charT, class traits>
654
654
basic_ostream<charT, traits>&
655
655
operator<<(basic_ostream<charT, traits>& os, const year_month_weekday_last& ymwdl);
656
656
657
- // 25.8.18, civil calendar conventional syntax operators // C++20
657
+ // [time.cal.operators] civil calendar conventional syntax operators // C++20
658
658
constexpr year_month
659
659
operator/(const year& y, const month& m) noexcept;
660
660
constexpr year_month
@@ -845,7 +845,7 @@ template<class charT, class traits>
845
845
basic_ostream<charT, traits>&
846
846
operator<<(basic_ostream<charT, traits>& os, const local_info& li);
847
847
848
- // 25.10.5, class time_zone // C++20
848
+ // [time.zone.timezone] class time_zone // C++20
849
849
enum class choose {earliest, latest};
850
850
class time_zone {
851
851
time_zone(time_zone&&) = default;
0 commit comments