Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
C++ in Detail: Common Idioms
Rating: 4.3 out of 5(50 ratings)
7,859 students

C++ in Detail: Common Idioms

Learning more about C++
Created byAndrzej Sz.
Last updated 6/2019
English

What you'll learn

  • What programming idiom is
  • Most common C++ idioms
  • C++ polymorphism idioms
  • C++ resource management idioms
  • C++ optimization idioms
  • C++ type system idioms
  • C++ templates idioms

Course content

7 sections25 lectures4h 32m total length
  • What is C++ idiom?2:31

    Explain what a c++ idiom is as a language-specific, low-level way to solve problems. Differentiate idioms from patterns and preview future videos with concrete c++ idioms and examples.

  • Source code link0:14

Requirements

  • At least basic knowledge of C++

Description

This course is about common C++ idioms that are related to:

- types system (return type resolver, type erasure, etc.)

- polymorphism (CRTP, virtual constructor)

-  dependencies (PIMPL)

- templates (SFINE, enable-if, object generator)

- resource management (RAII, reference counting, resource return)

- optimization (SOO, EBO)

Idioms emerge from certain features of a programming language or a lack of them.  Thus, learning C++ idioms helps better understand this language.

While learning those idioms, we will touch upon many parts of C++ like template parameters, including parameter pack, overload resolution, types of polymorphism, casting, conversion operators, placement new, special member functions, friend declarations, type deduction, etc.

Who this course is for:

  • Beginner - intermediate C++ developers
  • Students (either self-taught or at university) learning C++