Software Design with Traits and Tag Dispatching

Tag Dispatching enables it to choose a function based on the type characteristics. This decision takes place at compile time and is based on traits.

Read more
Views: 9080

Policy

Thanks to templates, there are new ways of software design. Policies and traits are two commonly used idioms in C++.

Read more
Tags: Policy
Views: 13195

Registration is Open for my Mentoring Program "Fundamentals for C++ Professionals"

I'm happy to announce: The registration for my mentoring program is now open until the 17th of April.

Read more
Views: 3324

Avoiding Temporaries with Expression Templates

Expression templates are typically used in linear algebra and are  "structures representing a computation at compile-time, which are evaluated only as needed to produce efficient code for the entire computation" (https://en.wikipedia.org/wiki/Expression_templates). In other words, expression templates are only evaluated when needed. 

Read more
Views: 7362

Mixins

In my previous  post "More about Dynamic and Static Polymorphism", I used the Curiously Recurring Template Pattern (CRTP) to implement static polymorphism. Another typical use case for CRTP is mixins.

Read more
Tags: Mixins, CRTP
Views: 19290

Help for the People in Ukraine

Get my 3-books bundle Modern C++ Collection for half the price ($66 -> $33).

Read more
Views: 4504

The Launch of my Mentoring Program "Fundamentals for C++ Professionals"

I have prepared my mentoring program and am ready to start on 22nd April.

Read more
Views: 3632

More about Dynamic and Static Polymorphism

In my last post, "Dynamic and Static Polymorphism", I introduced dynamic polymorphism. Today, I continue with static polymorphism and present a very interesting idiom in C++: curiously recurring template pattern (CRTP).

Read more
Views: 26531

More About Me

Do you want to participate in my mentoring program "Fundamentals for C++ Professionals"? Of course, you want to read more about me on my mentoring page: About Rainer Grimm.

 

 

Views: 3486

Dynamic and Static Polymorphism

Polymorphism is the property that different types support the same interface. In C++, we distinguish between dynamic polymorphism and static polymorphism.

Read more
Views: 43153

Stay Informed about my Mentoring

 

Mentoring

English Books

Course: Modern C++ Concurrency in Practice

Course: C++ Standard Library including C++14 & C++17

Course: Embedded Programming with Modern C++

Course: Generic Programming (Templates)

Course: C++ Fundamentals for Professionals

Course: The All-in-One Guide to C++20

Course: Master Software Design Patterns and Architecture in C++

Subscribe to the newsletter (+ pdf bundle)

All tags

Blog archive

Source Code

Visitors

Today 2110

Yesterday 4344

Week 38988

Month 19234

All 12097443

Currently are 165 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments