Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
wall_words
· 10y ago · 0 comments
std::tuple is essentially an "anonymous" struct -- there's no allocation involved
Comments
[–]
kzhahou
10y ago
But the members inside don't have proper names.
[–]
masklinn
10y ago
That's rarely a problem where MRV makes sense. Though you could always fix it by using anonymous structs whose fields are both named and positional (similar to Python's namedtuples)