Virtual Member Functions

Download c++ eBook

Syntax

  • virtual void f();

  • virtual void g() = 0;

  • // C++11 or later:

    • virtual void h() override;
    • void i() override;
    • virtual void j() final;
    • void k() final;

Remarks

Related Examples

Stats

109 Contributors: 7
Saturday, January 14, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook