Skip to content

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.

2 participants