3 ms·
Well, what I posted wouldn't be in a tidy codebase. You'd have something like: // foo.h typedef std::map<std::string, std::vector<std::string>> String
by AshleysBrain 14y ago
Well, what I posted wouldn't be in a tidy codebase. You'd have something like:
// foo.h
typedef std::map<std::string, std::vector<std::string>> StringToVectorString;
// foo.cpp
// in several places you can just use:
StringToVectorString foo;