You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... if std::tuple_size<T>::value is a positive number.
I currently don't remember the specific type which was incorrectly categorised as a tuple if I did not check for positve size, but there was something.
Activity
grisumbras commentedon Sep 9, 2026
Yes, see this section:
I currently don't remember the specific type which was incorrectly categorised as a tuple if I did not check for positve size, but there was something.
What's your use case for empty tuples?
jrade commentedon Sep 9, 2026
No use case at all. I was just playing around with the library to learn how it works. It is rather a matter of logical consistency.