4 ms·
With a bit of trickery CTL works much like the STL, in that containers can be built of containers: #define P #define T int #include <vec.h> #d
by glouwbug 5y ago
With a bit of trickery CTL works much like the STL, in that containers can be built of containers:
#define P
#define T int
#include <vec.h>
#define T vec_int
#include <deq.h>
A deq_vec_int - analogous to std::deque<std::vector<int>> - is a neat example.