diff --git a/d0355r1.html b/d0355r1.html index a3ad7c5..642544a 100644 --- a/d0355r1.html +++ b/d0355r1.html @@ -606,9 +606,9 @@ a way that it is trivial to remove this functionality.
Currently this library passes time_zone
s around with
-const time_zone*
. Each time_zone
is a non-copyable singleton
-in the application (much like a type_info
). Passing them around by pointers
-allows syntax such as:
+const time_zone*
. Each time_zone
is a non-copyable
+const
singleton in the application (much like a
+type_info
). Passing them around by pointers allows syntax such as:
auto tz = current_zone(); @@ -633,6 +633,13 @@ the following work no matter what with this syntax:+cout << make_zoned(current_zone(), system_clock::now()) << '\n';+We simply need to decide if the default style guide for passing
time_zone
s +around isconst time_zone*
orconst time_zone&
. And yes, +it is ok for a client to have aconst time_zone*
which equals +nullptr
. And no, the library never provides aconst time_zone*
+which is equal tonullptr
. +