Typedefs in vector