A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/language/../identifier_with_special_meaning/final.html below:

C++ identifier with special meaning: final (since C++11)

struct b0 final {};
struct d0 : b0 {}; // Error: cannot derive from final base
 
struct b1
{
    virtual void f0() final;
    virtual void f1();
};
 
struct d1 : b1 // OK
{
    void f0(); // Error: cannot override final function
    void f1(); // OK
};

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4