Skip to content

Support vectors of non-default-constructible values in c++11 mode#2

Merged
jonitis merged 1 commit intomasterfrom
feature_vector_of_non_default_constructible_values
Jul 27, 2015
Merged

Support vectors of non-default-constructible values in c++11 mode#2
jonitis merged 1 commit intomasterfrom
feature_vector_of_non_default_constructible_values

Conversation

@jonitis
Copy link
Owner

@jonitis jonitis commented Jul 27, 2015

Recently was added support for non-default-constructible classes using as.
But there should be the similar functionality for containers of such values.

I've just created initial version for vector, but it is not final patch I am expecting to be merged into msgpack. There must be support for other container types (e.g. map) and proper std::enable_if checks.
I do not feel comfortable to create full patch, but expect that Takatoshi Kondo or other maintainers will create polished patch. This is just suggested idea.

jonitis added a commit that referenced this pull request Jul 27, 2015
…tructible_values

Support vectors of non-default-constructible values in c++11 mode
@jonitis jonitis merged commit 85b01d2 into master Jul 27, 2015
@jonitis jonitis deleted the feature_vector_of_non_default_constructible_values branch July 27, 2015 09:50
@jonitis jonitis restored the feature_vector_of_non_default_constructible_values branch August 11, 2015 06:49
@jonitis jonitis deleted the feature_vector_of_non_default_constructible_values branch August 11, 2015 06:51
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.

1 participant