@@ -33,7 +33,7 @@ which is defined as follows:
3333 };
3434
3535 To represent the range and resolution of ``timespec ``, we need to (A) have
36- nanosecond resolution, and (B) use more than 64 bits (assuming a 64 bit ``time_t ``).
36+ nanosecond resolution, and (B) use more than 64 bits (assuming a 64- bit ``time_t ``).
3737
3838As the standard requires us to use the ``chrono `` interface, we have to define
3939our own filesystem clock which specifies the period and representation of
@@ -207,7 +207,7 @@ code in some way:
207207
208208 // Overflow during creation bug.
209209 file_time_type timespec_to_file_time_type(struct timespec ts) {
210- // woops! chrono::seconds and chrono::nanoseconds use a 64 bit representation
210+ // woops! chrono::seconds and chrono::nanoseconds use a 64- bit representation
211211 // this may overflow before it's converted to a file_time_type.
212212 auto dur = seconds(ts.tv_sec) + nanoseconds(ts.tv_nsec);
213213 return file_time_type(dur);
@@ -272,7 +272,7 @@ look like.
272272
273273 The first thing to notice is that we can't construct ``fs_timespec_rep `` like
274274a ``timespec `` by passing ``{secs, nsecs} ``. Instead we're limited to
275- constructing it from a single 64 bit integer.
275+ constructing it from a single 64- bit integer.
276276
277277We also can't allow the user to inspect the ``tv_sec `` or ``tv_nsec `` values
278278directly. A ``chrono::duration `` represents its value as a tick period and a
@@ -350,12 +350,12 @@ Though the above example may appear silly, I think it follows from the incorrect
350350notion that using a ``timespec `` rep in chrono actually makes it act as if it
351351were an actual ``timespec ``.
352352
353- Interactions with 32 bit ``time_t ``
353+ Interactions with 32- bit ``time_t ``
354354-----------------------------------
355355
356356Up until now we've only be considering cases where ``time_t `` is 64 bits, but what
357- about 32 bit systems/builds where ``time_t `` is 32 bits? (this is the common case
358- for 32 bit builds).
357+ about 32- bit systems/builds where ``time_t `` is 32 bits? (this is the common case
358+ for 32- bit builds).
359359
360360When ``time_t `` is 32 bits, we can implement ``file_time_type `` simply using 64-bit
361361``long long ``. There is no need to get either ``__int128_t `` or ``timespec `` emulation
@@ -431,11 +431,11 @@ Pros:
431431
432432 Cons:
433433
434- * It isn't always available (but on 64 bit machines, it normally is).
434+ * It isn't always available (but on 64- bit machines, it normally is).
435435* It causes ``file_time_type `` to have a larger range than ``timespec ``.
436436* It doesn't always act the same as other builtin integer types. For example
437437 with ``cout `` or ``to_string ``.
438- * Allows implicit truncation to 64 bit integers.
438+ * Allows implicit truncation to 64- bit integers.
439439* It can be implicitly converted to a builtin integer type by the user,
440440 truncating its value.
441441
0 commit comments