Answer by
tanay (10)
Use std::vectorstd::string" types as second parameter (ContainerT)but list is way faster than vector for when direct access is not needed, you can create your own string class and use something like "std::listSubString" where SubString does not do any copies for speed. It allows you to specify whether to trim empty tokens. it needs is stdstring.