aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-07-31 18:46:20 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-07-31 18:46:20 +0200
commitc8b89c45b3f527724a8700056a03885f5d3e4f0a (patch)
treeddc2731f9f4dba07c46c858cca0b7d59d87cb38b
parentaa2713da116ef8bdde43752e8abed9f2e568d57c (diff)
Add note on default-initialized timestamp
-rw-r--r--butl/timestamp3
1 files changed, 3 insertions, 0 deletions
diff --git a/butl/timestamp b/butl/timestamp
index f397dc6..77af4f1 100644
--- a/butl/timestamp
+++ b/butl/timestamp
@@ -30,6 +30,9 @@ namespace butl
//
using std::chrono::system_clock;
+ // Note that uninitialized timestamp has the timestamp_nonexistent
+ // value.
+ //
using timestamp = system_clock::time_point;
using duration = system_clock::duration;