Modernes C++ programmieren

Okt 20, 2024

lst-0013-book.cpp

Keyboard& getKeyboard() {
    cout << "  getKeyboard()\n”;
    static Keyboard keyboard{}; // static local variable
    return keyboard;
}