Timeline for Why would you use 'new' and 'delete' for something that will be referenced through a vector?
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 11, 2021 at 13:07 | answer | added | user379844 | timeline score: 0 | |
| Nov 8, 2021 at 16:47 | vote | accept | JensB | ||
| Nov 8, 2021 at 0:00 | history | tweeted | twitter.com/StackSoftEng/status/1457498117520175105 | ||
| Nov 7, 2021 at 17:34 | comment | added | Christophe | @Mat This was also my first thought. But Archetype does not seem to be derived further in this article. | |
| Nov 7, 2021 at 10:30 | answer | added | Christophe | timeline score: 10 | |
| Nov 6, 2021 at 22:16 | review | Close votes | |||
| Nov 7, 2021 at 18:35 | |||||
| Nov 6, 2021 at 22:15 | comment | added | Mat | Archetype is probably intended to be a base class with virtuals. Your second example would slice the objects, killing polymorphism. | |
| Nov 6, 2021 at 21:29 | history | asked | JensB | CC BY-SA 4.0 |