diff --git a/include/date/ptz.h b/include/date/ptz.h index 3ea3e47..88d2244 100644 --- a/include/date/ptz.h +++ b/include/date/ptz.h @@ -36,6 +36,11 @@ // Posix::time_zone tz{"EST5EDT,M3.2.0,M11.1.0"}; // zoned_time zt{tz, system_clock::now()}; // +// In C++17 CTAD simplifies this to: +// +// Posix::time_zone tz{"EST5EDT,M3.2.0,M11.1.0"}; +// zoned_time zt{tz, system_clock::now()}; +// // If the rule set is missing (everything starting with ','), then the rule is that the // alternate offset is never enabled. //