Dipl.-Ing. Martin Weitzel, 64380 Roßdorf bei Darmstadt

Rohde & Schwarz Inhouse Training

Online Examples and additional Links for R&S Inhouse Training "Advanced C++":

Example: Ambiguity resolution with nested namespace

In-depth coverage of C++ IO-Streams

Using namespaces for versioning

Example: const member functions and mutable

Example: correctly pairing new / new[] and delete / delete[]

Example: Basic use of throw and catch

Some articles on C++ exceptions (... and much more btw.)

Example: Polymorhism

Example: Necessity of virtual destructors

Example: Pure virtual destructor

Example: Pure virtual member functions with implementation

Example: (Bad) Design using chains of RTTI

Example: Improved Design using an (additional) virtual member function

Example: Overloading function call operator

Example: Emulating keyword argumentshttp://coliru.stacked-crooked.com/a/915e62d3aa9a45b7

Example: Printing words in reverse order

Example: using map iterators

Example: using typedefs for STL containers

Example: Oveloading Templates

Introduction to the chrono library by Nico Josuttis

Example: Chrono Library by Nico Josuttis

 


Some key terms you may want to enter to a google search to get more information:

RAII - "Resource Acquisition is Initialization" (Encapsulate Resource Management in Wrapper Classes)

RVO - "Return Value Optimization" (Frequently applied by C++ compilers to save calling some copy constructors)

NRVO - "Named Return Value Optinmization" (also sometimes applied by C++ compilers to save copying)