NVIDIA interview question

How std::string is implemented?