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

Abstract object/array type out so that arbitrary types can be used #169

Closed
wants to merge 2 commits into from
Closed

Abstract object/array type out so that arbitrary types can be used #169

wants to merge 2 commits into from

Conversation

erichkeane
Copy link

As suggested by @palacaze in #161, this allows using an unordered_map
as well as anything that obeys the template<K,V> type for the object
type or template for the array type.

As suggested by @palacaze in #161, this allows using an unordered_map
as well as anything that obeys the template<K,V> type for the object
type or template<V> for the array type.
@erichkeane
Copy link
Author

This patch replaces #165 based on the comments that were received there. It does nothing about the allocators, as the suggestions in #161 will be able to done after this. This DOES however make the allocator changes easier, so I'll put together a pull request based on this in the future.

@nlohmann
Copy link
Owner

nlohmann commented Jan 2, 2016

Thanks a lot for the PR. Can you please make the changes also to file json.hpp.re2c - file json.hpp is generated out of that file.

@nlohmann
Copy link
Owner

@erichkeane 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.

1 similar comment
@nlohmann
Copy link
Owner

@erichkeane 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.

@erichkeane
Copy link
Author

Sure! I can rebase these.

@nlohmann
Copy link
Owner

Closed here - overworked PR at #209.

@nlohmann nlohmann closed this Feb 16, 2016
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