[EMCpp]Item-12 Declare Overriding Functions Override
· β 2 min read
C++11 gives us a way to make explicit that a derived class function is supposed to override a base class version: override
.
C++11 gives us a way to make explicit that a derived class function is supposed to override a base class version: override
.
Enumerators of scoped enum
s are visible only within the enum
, convert to other types only with a cast, and always support forward-declared because their default underlying type is int
.
Alias declaration support templatization, which avoids the “::type” suffix and “typename” prefix often required to refer typedef
s.