3 ms·
That doesn’t compose in a class hierarchy, though.
by layer8 5y ago
That doesn’t compose in a class hierarchy, though.
- remram 5y agoThat's a good point... You might be able to work around that using a template function factory e.g. `make_foobar<ChildrenFooBar>()`. I'm not sure what's a good pattern here, I don't write much C++.
- gpderetta 5y agoAs long as the every element of the hierarchy is noexcept-movable it still composes. It is just very cumbersome.