2 ms·
Here's an example: https://github.com/Tarsnap/libcperciva/blob/master/datastruct/elasticarray.h https://github.com/Tarsnap/libcperciva/blob/master/datastruc...
by cperciva 7y ago
Here's an example: https://github.com/Tarsnap/libcperciva/blob/master/datastruct/elasticarray.h https://github.com/Tarsnap/libcperciva/blob/master/datastruc...
As long as you invoke use it properly, e.g.
ELASTICARRAY_DECL(PTRLIST, ptrlist, void *);
there's no way it will create non-compliant code.