Specify exception constructors

* For nonexistent_local_time and ambiguous_local_time.
* Simplify the constructors.
* Make these exceptions usable for custom time zones.
This commit is contained in:
Howard Hinnant
2017-10-24 12:07:27 -04:00
parent 5563d31b2e
commit 9381e894a5
2 changed files with 76 additions and 107 deletions

View File

@@ -32,6 +32,7 @@ This is actually several separate C++11/C++14 libraries:
`"date.h"` and `"tz.h"` are now being proposed for standardization:
* Current proposal: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0355r4.html
* Draft revision: http://howardhinnant.github.io/date/d0355r5.html
List of projects using this library: