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

Added no default constructible classes support. #302

Merged
merged 1 commit into from Jul 5, 2015

Conversation

redboltz
Copy link
Contributor

No description provided.

@redboltz
Copy link
Contributor Author

This PR is for C++11.
https://github.com/msgpack/msgpack-c/pull/302/files#diff-43e3e0a5273186b9cbe49b61cee43532R188
When you add 'as' class template specialization, msgpack::object::as() is dispatched to that specialization.
See:
https://github.com/msgpack/msgpack-c/pull/302/files#diff-43e3e0a5273186b9cbe49b61cee43532R199

If you don't define 'as' class template specialization, msgpack::object::as() is dispatched to 'convert()' fallback https://github.com/msgpack/msgpack-c/pull/302/files#diff-78de7bf562e0c9b86e0f65408b3b6637R531

redboltz added a commit that referenced this pull request Jul 5, 2015
Added no default constructible classes support.
@redboltz redboltz merged commit b559187 into msgpack:master Jul 5, 2015
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.

None yet

2 participants