3 ms·
So you effectively make an enum out of the names in the tuple. That way you can even use the enum to use as the index into the get<> function calls.
by daemin 11y ago
So you effectively make an enum out of the names in the tuple. That way you can even use the enum to use as the index into the get<> function calls.
- cbsmith 11y agoYes, that is one way of looking at it, though enums don't use string constants.