You can't know. The internals of the basic_string class are implementation-specific.

You could always derive from basic_string if you wanted.