You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! Thank you so much for making immer. I see that arrays and vectors support initialize_list ctors. Is there any reason why maps and sets don't? I haven't found any docs or issues suggesting a reason, so it could be an oversight?
// This works.
immer::vector<int> v{ 1, 2, 3, 4 };
// These do not compile.
immer::set<int> s{ 1, 2, 3, 4 };
immer::map<int, int> m{ {1, 2}, {3, 4} };
// All of these work.
std::vector<int> v{ 1, 2, 3, 4 };
std::set<int> s{ 1, 2, 3, 4 };
std::map<int, int> m{ {1, 2}, {3, 4} };
The text was updated successfully, but these errors were encountered:
Hello! Thank you so much for making immer. I see that arrays and vectors support initialize_list ctors. Is there any reason why maps and sets don't? I haven't found any docs or issues suggesting a reason, so it could be an oversight?
The text was updated successfully, but these errors were encountered: