r/cpp • • Aug 13 '26

C++26: std::indirect

https://www.sandordargo.com/blog/2026/08/12/cpp26-indirect
164 Upvotes

157 comments sorted by

View all comments

Show parent comment

2

u/NewLlama Aug 14 '26

Doesn't that double the stride of your node though? That seems like a total nonstarter to me.

4

u/ts826848 Aug 14 '26

I think the nonstarter-ness will be pretty case-specific. If you aren't sticking Nodes in arrays, for instance, the stride size may not matter at all.