3 ms·
why not forward decare a struct type in `ifndef __cplusplus` and use pointers to that type instead of `void*` pointers?
by hwc 3y ago
why not forward decare a struct type in `ifndef __cplusplus` and use pointers to that type instead of `void*` pointers?
- krater23 3y agoHe uses malloc instead of new in a .cc file. I don't think that he realized that all what he is doing is overcomplicated at all.