Hızlı yanıt: kod örneği
My question here is, what's the purpose of if is part of the standard library?Reasons that I can think of:
QString
std::string
- has been part of the Qt library way before
QString
came to life.std::string
- Its interface includes a lot of Qt specific classes. Hence, the usage of cannot be easily replaced by
QString
.std::string
- Its interface is a lot richer than .
std::string