Re:My favourite C++ footgun
by remram on Wednesday June 23, 2021 @01:18PM
(#27607108)
That'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++.
[ Parent
| on HN ]
There are no comments on this comment yet.