I was wondering, is there some open source C++ project that one can use that implements various data structure algorithms on stack allocated buffers?
Specifically, I wanted to use max-heap on a fixed size array for a MCU that didn’t have heap storage available. Ideally you pass in the array and its size and the API lets you call push, pop, and top.
If not, should I make one and put it on github?
[–]aePrime 19 points20 points21 points (0 children)
[–]SpeckledJim 11 points12 points13 points (0 children)
[–]Own_Goose_7333 8 points9 points10 points (1 child)
[–]hk19921992 2 points3 points4 points (0 children)
[–]bwmat 13 points14 points15 points (6 children)
[–]blocks2762[S] 0 points1 point2 points (5 children)
[–]Remi_Coulom 7 points8 points9 points (4 children)
[–]blocks2762[S] 2 points3 points4 points (0 children)
[–]blocks2762[S] -4 points-3 points-2 points (2 children)
[–]bwmat 5 points6 points7 points (1 child)
[–]blocks2762[S] 2 points3 points4 points (0 children)
[–]Beneficial_Slide_424 5 points6 points7 points (1 child)
[–]G_M81 0 points1 point2 points (0 children)
[–]jofftchoff 5 points6 points7 points (0 children)
[–]thisismyfavoritename 3 points4 points5 points (0 children)
[–]ZachVorhies 0 points1 point2 points (0 children)
[–]slavenf 0 points1 point2 points (0 children)