From Jason Turner

[time.syn]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp79mrmd3d/{from.md → to.md} +25 -0
tmp/tmp79mrmd3d/{from.md → to.md} RENAMED
@@ -878,7 +878,32 @@ namespace std::inline literals::inline chrono_literals {
878
  }
879
 
880
  namespace std::chrono {
881
  using namespace literals::chrono_literals;
882
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
883
  ```
884
 
 
878
  }
879
 
880
  namespace std::chrono {
881
  using namespace literals::chrono_literals;
882
  }
883
+
884
+ namespace std {
885
+ // [time.hash], hash support
886
+ template<class T> struct hash;
887
+ template<class Rep, class Period> struct hash<chrono::duration<Rep, Period>>;
888
+ template<class Clock, class Duration> struct hash<chrono::time_point<Clock, Duration>>;
889
+ template<> struct hash<chrono::day>;
890
+ template<> struct hash<chrono::month>;
891
+ template<> struct hash<chrono::year>;
892
+ template<> struct hash<chrono::weekday>;
893
+ template<> struct hash<chrono::weekday_indexed>;
894
+ template<> struct hash<chrono::weekday_last>;
895
+ template<> struct hash<chrono::month_day>;
896
+ template<> struct hash<chrono::month_day_last>;
897
+ template<> struct hash<chrono::month_weekday>;
898
+ template<> struct hash<chrono::month_weekday_last>;
899
+ template<> struct hash<chrono::year_month>;
900
+ template<> struct hash<chrono::year_month_day>;
901
+ template<> struct hash<chrono::year_month_day_last>;
902
+ template<> struct hash<chrono::year_month_weekday>;
903
+ template<> struct hash<chrono::year_month_weekday_last>;
904
+ template<class Duration, class TimeZonePtr>
905
+ struct hash<chrono::zoned_time<Duration, TimeZonePtr>>;
906
+ template<> struct hash<chrono::leap_second>;
907
+ }
908
  ```
909