// TODO: Replace `cout, printf` with sprintf&fputs and custom buffers #ifndef _TABLE_H #define _TABLE_H #include "types.h" #include "vector_type.hpp" #include #include #include #include #include #include #include "io.h" #include "hasher.h" #undef ERROR template class vector_type; template <> class vector_type; #ifdef _MSC_VER #include #define __builtin_popcount __popcnt namespace types { enum Type_t; template struct Types; template struct Coercion; } #endif struct ColRef_cstorage { void* container; unsigned int size, capacity; const char* name; int ty; // what if enum is not int? }; template