News for hackers. Stuff that matters.
Re:Type Safe Generic Data Structures in C by kccqzy on Monday October 05, 2026 @01:03PM (#49967473)
So what? You like <vector>, and make it the only allowed include. Write all other type safe generic data structures by hand using C++ syntax. Problem solved. In fact many old codebases migrated from C already has their own implementations of strings and vectors and hash tables, so these projects can totally forbid the C++ standard library versions in favor of their own versions, and only pull in <type_traits> for easier type safe generic data structure programming.

There are no comments on this comment yet.