←back to thread

1 points zuhair | 1 comments | | HN request time: 0.213s | source
1. zuhair ◴[] No.45757555[source]
Author here. Header-only SBO container that keeps middle insert/erase working for non-assignable element types (e.g., const members) via a rebuild-and-swap path. When it's useful: mobile constraints (zero deps), tiny-N hot paths, support for immutable types. When not: if your types are assignable or you already carry Abseil/Boost; C++26 std::inplace_vector is relevant for fixed capacity.

Repo: https://github.com/lloyal-ai/inlined-vector (MIT) vcpkg: vcpkg install lloyal-ai-inlined-vector (port merged) Benchmarks: google-benchmark harness in the repo; happy to add your results.