From 28d28b97aa3d70d9bba7c3d084b8f2d0e96a4624 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Sun, 30 Aug 2020 23:48:27 -0400 Subject: [PATCH] Minor note about `final` --- _posts/2020-08-05-static-polymorphism.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_posts/2020-08-05-static-polymorphism.md b/_posts/2020-08-05-static-polymorphism.md index 557b340..74e7225 100644 --- a/_posts/2020-08-05-static-polymorphism.md +++ b/_posts/2020-08-05-static-polymorphism.md @@ -536,8 +536,8 @@ Though the compiler nicely warns us that we shouldn't do this: | ~~~~~~~~~~~^ ``` -C++ also has `override`, but doesn't make much sense to impose that as a requirement; inheritance -and concepts are orthogonal systems. +C++ also has `override` and `final`, but doesn't make much sense to impose that as a requirement; +inheritance and concepts are orthogonal systems. # Implement methods on remote types