C++11 final

在类的后面加 final 禁止该类被继承

在类方法的后面加 final 禁止该方法被重写

原文地址:https://www.cnblogs.com/suui90/p/15459975.html