Quantcast
Viewing all articles
Browse latest Browse all 42

Comment by Lundin on Concept of implementing "generic" types in C using macros

@JohnKimble There's both better type safety and less layers in-between this way. Though if you wish to implement some C++ vector-like container, there's probably no sensible way to avoid dynamic memory and a struct.

Viewing all articles
Browse latest Browse all 42

Trending Articles