void* realloc(void*, unsigned long int); forall(otype T) struct wrap { T* val; }; forall(otype T) static inline void realloc(wrap(T) *const this, unsigned long int size) { this->val = (T*)realloc((void*)this->val, size); }