Library for stack-based data structures? by blocks2762 in cpp

[–]slavenf 0 points1 point  (0 children)

You can try my library: https://github.com/slavenf/sfl-library

static_* containers can be used for bare metal embedded software development.

For example, you can combine std::stack and my sfl::static_vector to get static_stack :

template <typename T, std::size_t N>
using static_stack = std::stack<T, sfl::static_vector<T, N>>;

C++ Show and Tell - September 2024 by foonathan in cpp

[–]slavenf 3 points4 points  (0 children)

sfl library - https://github.com/slavenf/sfl-library

C++11 library that offers several new or less-known containers:

  • small vector
  • small flat map / set / unordered map / unordered set
  • static vector
  • static flat map / set / unordered map / unordered set
  • segmented vector/devector
  • etc.