4 ms·
Some time ago I was wondering what would be the best way to traverse a list of objects contained in optionals or unique_ptrs. It seems like there is no way in
by deutschepost 3y ago
Some time ago I was wondering what would be the best way to traverse a list of objects contained in optionals or unique_ptrs.
It seems like there is no way in C++ to express that i want to traverse the objects themselves and not the container objects. Hopefully that changes soon.