Original Post
Can you use a string object (non-pointer) in a struct?
I realize that structs need to know their size at run-time, and that using a string means you can have a varying memory footprint, but I was just wondering if this was possible.
I would normally just use a string *, but the values are one time initializations that don''t necessarily need the overhead of creating using new/delete.
And I could use char[] but I''m trying to migrate away from mixing the two (no real reason, just personal preference).