
Originally Posted by
spiritualfields
SOME_CONTAINER_WITH_ELEMENTS_ACCESSIBLE_BY_INDEX
well then, why not something like:
Code:
const char* arrayOfArrays[][6] = {{"string","string","string","","",""},{"string","string","string","","",""},{"string","string","string","","",""}};
the above is accessible by index, it's STL interoperable ( moreover, it could be made regular (aka copyable) by making it a member of some aggregate struct ) and no copy/move of strings is required. That said, I'm still curious about why are you using a global variable to store such a big list of strings ...