I'm using std::string for it's memory management and efficiency to store location relative data.
The std::strings are being initialized with lengths of 30 bytes, and after that will never have any calls made to their container aside from maybe the destructor.
What I want to know is if they are guaranteed to stay in one place after they've been initialized assuming they will never be changed?
c_str()is undefined behavior". Which really goes without saying, because you have to cast away theconst-nessstd::array<char, 30>might be more appropriate. They are guaranteed to stay in one place regardless of what some idiot maintenance programmer decides to do with them.