Posts

TimelineCpp20Concepts

Defining Concepts with Requires Expressions

/
In my last post, "Define Concepts", I defined the concepts Integral, SignedIntegral, and UnsigendIntegral…
templatesTypeTraits

The Type-Traits Library: Optimization

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

The Type-Traits Library: Correctness

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

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…
templatesTypeTraits

The Type-Traits Library: Type Comparisons

/
In my last post, "The Type-Traits Library: Type Checks" I introduced type checks at compile time with…
templatesTypeTraits

The Type-Traits Library: Type Checks

/
The type-traits library is part of C++11 and supports type checks, type comparisons, and type modifications…
TypeTraits

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.…
TypeTraits

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.…
ContainerVersusElement

Type-Traits: Performance Matters

/
If you look carefully, you see type-traits have a big optimization potential. The type-traits support…
compare

Compare and Modify Types

/
The type-traits library empowers you to compare and modify types. All is done at compile time therefore,…