Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Does it make sense to add final keyword to the virtual function in a class that has no base class (is not derived) – stackoverflow.com

I am reading an awesome awesome C++11 tutorial and the author provides this example while explaining the final Keyword. struct B { Virtual void f() const final; // do not override virtual ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot



This post first appeared on ONLINE WEB TRICKS, please read the originial post: here

Share the post

Does it make sense to add final keyword to the virtual function in a class that has no base class (is not derived) – stackoverflow.com

×

Subscribe to Online Web Tricks

Get updates delivered right to your inbox!

Thank you for your subscription

×