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

Make basic_json allocate-aware, as mentioned in #161 + unrelated changes for #164 #170

Closed
wants to merge 2 commits into from

Conversation

palacaze
Copy link

@palacaze palacaze commented Jan 3, 2016

This is an attempt to make it work with #164.
The thing is that the current code attempts to define containers with incomplete types,
this is not supported by the standard and does not work with unordered_map. std::vector and
std::map work but we might be in the realm of undefined behaviour.

This is an attempt to make it work with nlohmann#164.
The thing is that the current code attempts to define containers with incomplete types,
this is not supported by the standard and does not work unordered_map. std::vector and
std::map work but we might be in the realm of undefined behavior.
@nlohmann
Copy link
Owner

@palacaze Sorry for not coming back to this PR earlier. There were quite some fixes on the MSVC side, so I would like to ask you to resubmit the PR to work on the latest version.

@palacaze
Copy link
Author

I would be glad to but as mentioned in #164 the allocator-aware change and #169 are not compatible.
I don't know what to do at this point.

@nlohmann
Copy link
Owner

nlohmann commented Jan 2, 2017

Unfortunately, this PR staled - allocators are hard. :-(

@nlohmann nlohmann closed this Jan 2, 2017
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