What is the smallest #cplusplus "full" vector/dynamic_array class you've ever seen/made?
Been awhile since I wrote one, but I needed to and was surprised at how small it is. 150 LOC. Supports custom allocators, copy/move, all the usuals.
A good dynamic array class is also a foundational container to have. Can implement lots of other containers using an array internally. Some containers which the stl doesn't have (or implements poorly/too generically).
-
-
I should clarify: poorly/too generically for my use cases. I understand that the stl needs to serve many industries, so I can't fault them for their broad coverage.
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa
-
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.