Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to declare all container specializations up front #180

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rschlaikjer
Copy link
Contributor

Add missing declarations for load/save json value for map, unordered_map and deque. Without these, recursive containers (e.g. std::vector<std::unordered_map<...>>) will fail to resolve in a massive pile of template errors since the specialization for map comes after the specialization for vector.

rschlaikjer and others added 3 commits March 17, 2025 09:12
Add missing declarations for load/save json value for map, unordered_map
and deque. Without these, recursive containers
(e.g. std::vector<std::unordered_map<...>>) will fail to resolve in a
massive pile of template errors since the specialization for map comes
after the specialization for vector.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants