The Type-Traits Library: Optimization

The type-traits library has two main goals: correctness and optimization. Today, I write about optimization.

Read more
Views: 7571

The Type-Traits Library: Correctness

The two main goals of the type-traits library are compelling: correctness and optimization. Today, I write about correctness.

Read more
Views: 7658

The Type-Traits Library: std::is_base_of

I finished the last article on the Type-Traits library with the challenge of explaining the std::is_base_of and std::is_convertible functions. Today I'm excited to present the answer from Mr. Helmut Zeisel.

Read more
Views: 10084

The Type-Traits Library: Type Comparisons

In my last post, "The Type-Traits Library: Type Checks" I introduced type checks at compile time with the type-traits library. Today, I write about type comparisons at compile time.

Read more
Views: 8947

And the Winners for the Seven Vouchers for Fedor's Book "The Art of Writing Efficient Programs" are

I'm happy to present the seven winners in this post including their answers.

Read more
Views: 9549

The Type-Traits Library: Type Checks

The type-traits library is part of C++11 and supports type checks, type comparisons, and type modifications at compile time. The library has over 100 functions but grows with each new C++ standard release. Today, I present the type checks.

Read more
Views: 12609

Template Metaprogramming - Hybrid Programming

First of all, hybrid programming is not an official term. I created it to emphasize an exciting aspect of templates. The difference between function arguments and template arguments.

Read more
Views: 9368

Seven Voucher for Fedor G. Pikus Book "The Art of Writing Efficient Programs"

I'm happy to announce that I have to offer five vouchers for a digital and two vouchers for a printed issue of Fedor G. Pikus book "The Art of Writing Efficient Programs". The sponsor of these coupons is Packt.

Read more
Views: 5724

Template Metaprogramming - How it Works

In my last post, "Template Metaprogramming - How it All Started", I wrote about the roots of template metaprogramming. I presented the hello world of template metaprogramming: calculating the factorial of a number at compile time. In this post, I will write about how template metaprogramming can modify types at compile time.

Read more
Views: 14078

Template Metaprogramming - How it All Started

Metaprogramming is programming on programs. C++ applies metaprogramming at compile time. It started in C++98 with template metaprogramming, was formalized in C++11 with the type-traits library, and since C++11 has steadily improved. The main driving force is constant expressions. In this post, I want to write about its roots.

Read more
Views: 15604

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 4089

Yesterday 4371

Week 39896

Month 170021

All 12057787

Currently are 203 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments