C++ Core Guidelines: Other Template Rules

Today, I write about the few remaining rules to templates. Because a collective name is missing, they put the heterogeneous rules to templates in the section other. The rules are about best practices but also about surprises. 

Read more
Views: 19144

C++ Core Guidelines: Programming at Compile Time with constexpr

My mini-series about programming at compile time started with template metaprogramming, continued with the type-traits library, and ended today with constant expressions (constexpr).

Read more
Tags: constexpr
Views: 81669

C++ Core Guidelines: Programming at Compile Time with Type-Traits (The Second)

The type-traits library supports type checks, type comparisons, and type modifications at compile time. Right! Today, I write about type modifications at compile time.

Read more
Views: 37472

C++ Core Guidelines: Programming at Compile Time with the Type-Traits

My journey through programming at compile time began in the last posts with template metaprogramming. Today, I jumped from C++98 to C++11. This is a jump to the type-traits library which is template metaprogramming in a standardized way.

Read more
Views: 25782

C++ Core Guidelines: Programming at Compile Time

Today, I will continue my introduction to programming at compile time. The last post started with template metaprogramming. Here is where I pick up today and finish.

Read more
Views: 50292

C++ Core Guidelines: Rules for Template Metaprogramming

Yes, you read it correctly. Today, I write about template metaprogramming, programming with types and not values. 

Read more
Views: 117572

C++ Core Guidelines: Rules for Variadic Templates

Variadic templates are a typical feature of C++: from the user's perspective, they are easy to use, but from the implementor's perspective, they look pretty scary. Today's post is mainly about the implementor's perspective.

Read more
Views: 86042

C++ Core Guidelines: Rules for Templates and Hierarchies

Due to the  C++ core guidelines, "Templates are the backbone of C++’s support for generic programming and class hierarchies the backbone of its support for object-oriented programming. The two language mechanisms can be combined effectively, but a few design pitfalls must be avoided." Let me see what this means.

Read more
Views: 25931

C++ Core Guidelines: Ordering of User-Defined Types

My post for today is just loosely coupled to the rules of the C++ core guidelines because they do provide not much content. Inspired by the guidelines, today's post concerns a generic isSmaller function.

Read more
Views: 16620

C++ Core Guidelines: Template Definitions

Template definitions deal with guidelines that are specific to a template implementation. This means, in particular, these rules focus on how a template definition depends on its context.

Read more
Views: 25586

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 2073

Yesterday 4344

Week 38951

Month 19197

All 12097406

Currently are 163 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments