[libcxx-commits] [libcxx] [libc++][chrono] Loads tzdata.zi in tzdb. (PR #74928)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jan 23 08:59:16 PST 2024
================
@@ -31,6 +37,9 @@ namespace chrono {
struct _LIBCPP_AVAILABILITY_TZDB tzdb {
string version;
+ vector<pair<string, vector<__tz::__rule>>> __rules;
----------------
ldionne wrote:
What we really want here is `std::flat_map<string, vector<__tz::__rule>>`. I suggest we use `std::map` for now and switch it to `flat_map` once it is implemented. We could aim to have both in LLVM 19.
https://github.com/llvm/llvm-project/pull/74928
More information about the libcxx-commits
mailing list