Skip to content

Conversation

jamesn031199
Copy link

A better way to handle a variable amount of components passed to the makeEntity function

Copy link

@moose99 moose99 left a comment

Choose a reason for hiding this comment

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

nice, I like this as well. Only problem is that remove_reference is c++-11 and remove_reference_t is c++-14. I believe Benny prefers to keep pre-c++-11 compatibility.

@jamesn031199
Copy link
Author

Do you know of a way to get around this issue?

@moose99
Copy link

moose99 commented Jul 15, 2018

I don't think there's any way around it. Variadic templates were introduced in c++-11 and prior to that there were only variadic functions which I don't think will suffice.

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.

3 participants