[libc-commits] [libc] [libc][CPP] Add vector container and unit tests (PR #222972)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Fri Sep 11 13:04:02 PDT 2026


jhuber6 wrote:

I'm not fully against it having nice types for this, but I'm just concerned that if we start providing things like `std::vector` people are going to start using them like this is standard C++. Every case I'm aware of probably just needs a 'growable' buffer and I would've much preferred to see that interface rather than just importing a C++ vector into a C library.

https://github.com/llvm/llvm-project/pull/222972


More information about the libc-commits mailing list