2 // Origin: David Mazieres <dm@amsterdam.lcs.mit.edu>
4 template<class T> struct vector_base {
9 char defbuf_space[2 * sizeof (elm_t)];
11 elm_t *def_basep () { return reinterpret_cast<elm_t *> (defbuf_space); }
14 template<class T> struct vector : public vector_base<T> {
15 vector () { this->def_basep (); }