The following code represents a container based on std::vector
template struct TList { typedef std::vector Type; };
well, you can hack it up with a macro:
template > struct TList { typedef stl_container Type; }; #define TLIST(T, C) TList > TList foo; TList > bar; TLIST(int, std::list) baz;