C++17 and C++20 library compatibility

Viewed 374

Lets say I have a C++ library (QT, for example) built with /std:c++17 and a C++ app built with /std:c++20 that uses the library.

What will happed if in my app I call a function like std::string QString::toStdString() const implemented in the library?

Does std::string in my app differ from std::string in the library?

Comiler: MSVC2019 or CLang 12.

0 Answers
Related