Ich habe eine Frage zur Binärkompatibilität. Ich habe Klasse A, die eine öffentliche Methode foo() und eine Attributzeichenfolge _foo enthält;Binary Kompatibel zum Ändern des Rückgabetyps C++
const string foo() {return _foo;}
Als ich nach
geändertconst string& foo(){return _foo;}
Ist es noch binärkompatibel? Danke für Ihre Hilfe!