News for hackers. Stuff that matters.
Re:Talking to C Programmers about C++ [video] by sseagull on Sunday September 25, 2016 @10:09AM (#12575369)
Yes, but it would still be hard to support custom types, wouldn't it? Ie in your library, I would have to use pointers, which might be unsafe? Adding types to a library like that (like double) causes the amount of code to grow dramatically (maybe even n^2 for maps).

You're library does look nice for what it does, and may have to look into it for some projects (I do have some C projects). Thanks!

Re:Talking to C Programmers about C++ [video] by faragon on Sunday September 25, 2016 @11:16AM (#12575676)
That library is still in beta stage, there are others.

For maps I've implemented integer, pointers, and strings, without code bloat (tree implementation is common, without macro-templates). I'm planning adding some generic type support for fixed-size elements, while keeping internal tree pointer-less and both stack and heap allocation possible, with minimal code bloat/duplication.