From Jason Turner

[time.clock]

Diff to HTML by rtfpessoa

tmp/tmpkdg6dymc/{from.md → to.md} RENAMED
@@ -13,11 +13,11 @@ class system_clock {
13
  public:
14
  typedef see below rep;
15
  typedef ratio<unspecified, unspecified> period;
16
  typedef chrono::duration<rep, period> duration;
17
  typedef chrono::time_point<system_clock> time_point;
18
- static const bool is_steady = unspecified;
19
 
20
  static time_point now() noexcept;
21
 
22
  // Map to C API
23
  static time_t to_time_t (const time_point& t) noexcept;
@@ -63,11 +63,11 @@ class steady_clock {
63
  public:
64
  typedef unspecified rep;
65
  typedef ratio<unspecified, unspecified> period;
66
  typedef chrono::duration<rep, period> duration;
67
  typedef chrono::time_point<unspecified, duration> time_point;
68
- static const bool is_steady = true;
69
 
70
  static time_point now() noexcept;
71
  };
72
  ```
73
 
@@ -82,11 +82,11 @@ class high_resolution_clock {
82
  public:
83
  typedef unspecified rep;
84
  typedef ratio<unspecified, unspecified> period;
85
  typedef chrono::duration<rep, period> duration;
86
  typedef chrono::time_point<unspecified, duration> time_point;
87
- static const bool is_steady = unspecified;
88
 
89
  static time_point now() noexcept;
90
  };
91
  ```
92
 
 
13
  public:
14
  typedef see below rep;
15
  typedef ratio<unspecified, unspecified> period;
16
  typedef chrono::duration<rep, period> duration;
17
  typedef chrono::time_point<system_clock> time_point;
18
+ static constexpr bool is_steady = unspecified;
19
 
20
  static time_point now() noexcept;
21
 
22
  // Map to C API
23
  static time_t to_time_t (const time_point& t) noexcept;
 
63
  public:
64
  typedef unspecified rep;
65
  typedef ratio<unspecified, unspecified> period;
66
  typedef chrono::duration<rep, period> duration;
67
  typedef chrono::time_point<unspecified, duration> time_point;
68
+ static constexpr bool is_steady = true;
69
 
70
  static time_point now() noexcept;
71
  };
72
  ```
73
 
 
82
  public:
83
  typedef unspecified rep;
84
  typedef ratio<unspecified, unspecified> period;
85
  typedef chrono::duration<rep, period> duration;
86
  typedef chrono::time_point<unspecified, duration> time_point;
87
+ static constexpr bool is_steady = unspecified;
88
 
89
  static time_point now() noexcept;
90
  };
91
  ```
92