class Specific : public Base<Specific>
Use parametric polymorphism with inheritance,
class Specific : public Base<Specific>
Use parametric polymorphism with inheritance,
Parametric Polymorphism
"Inheritance" is run time poluymorphism.
"Generic" is parametric poluymorphism. poluymorphism at complie time.
This slide explore "design" in software engineering.
Two-complement: First bit is sign bit, interrupted as negative number.
10 = 01010 -> 8 + 2 = 10 -10 = 10110 -> -16 + 4 + 2 = 210