A short, to-the-point, document summarizing a topic (i.e. programming language)

learn more… | top users | synonyms

0
votes
0answers
45 views

Polymorphic template container: shared_ptr vs reference_wrapper

Assuming we have two classes: class A { ... } class B : public A { ... } Would it be better to write std::deque<shared_ptr<A> > container; or ...