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

Implement C++11 variadic templates based fusion::tuple. #100

Merged
merged 1 commit into from
Aug 27, 2015

Conversation

Flast
Copy link
Collaborator

@Flast Flast commented Aug 26, 2015

This is last container update for support variadics.

{
template <typename ...T>
struct tuple : vector<T...>
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this simply be a alias template?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alias templates are not always supported when variadics are, but even if they were these types are documented as different things, and making them the same could/would be problematic for partial specializations.

Furthermore, there's the question of how much should fusion::tuple try to be like std::tuple, specially considering fusion::tuple started as a TR1 implementation of tuple. Otherwise, there might not be much sense in keeping this around.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good points. I think the last point makes sense "there might not be much sense in keeping this around". But let's keep it for now.

djowel added a commit that referenced this pull request Aug 27, 2015
Implement C++11 variadic templates based fusion::tuple.
@djowel djowel merged commit de3730c into boostorg:variadics Aug 27, 2015
@Flast Flast deleted the feature/variadic/tuple branch August 28, 2015 13:39
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

3 participants