Hidden Feature: Implement A Pure Virtual Function In Its Own Abstract Class | C++ Tutorial

  Рет қаралды 1,243

Portfolio Courses

Portfolio Courses

Күн бұрын

Пікірлер: 1
@harishkuppam5756
@harishkuppam5756 Жыл бұрын
If we need to maintain the total length of logged messages, we are required to call the base call virtual function in all the derived classes right so doesn't that make this code anti-pattern? I know it won't cause any error if we don't call the virtual function in derived class but the whole purpose of implementing the function in Base class is lost if we don't call it in all the derived classes right?
Function Templates | C++ Tutorial
10:54
Portfolio Courses
Рет қаралды 7 М.
Abstract Classes And Pure Virtual Functions | C++ Tutorial
11:05
Portfolio Courses
Рет қаралды 16 М.
escape in roblox in real life
00:13
Kan Andrey
Рет қаралды 93 МЛН
Worst flight ever
00:55
Adam W
Рет қаралды 28 МЛН
Поветкин заставил себя уважать!
01:00
МИНУС БАЛЛ
Рет қаралды 7 МЛН
Naming Things in Code
7:25
CodeAesthetic
Рет қаралды 2,1 МЛН
31 nooby C++ habits you need to ditch
16:18
mCoding
Рет қаралды 788 М.
the COOLEST limit on YouTube!
9:50
blackpenredpen
Рет қаралды 28 М.
The Flaws of Inheritance
10:01
CodeAesthetic
Рет қаралды 946 М.
you will never ask about pointers again after watching this video
8:03
Exception Handling | C++ Tutorial
14:49
Portfolio Courses
Рет қаралды 18 М.
Introduction To Classes And Objects | C++ Tutorial
11:49
Portfolio Courses
Рет қаралды 58 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 811 М.
String In Char Array VS. Pointer To String Literal | C Programming Tutorial
9:58
Dynamic Binding (Polymorphism) With The Virtual Keyword | C++ Tutorial
9:57