Posts
![TimelineCpp20Concepts](https://www.modernescpp.com/wp-content/uploads/2019/11/TimelineCpp20Concepts.png)
Defining Concepts with Requires Expressions
/
0 Comments
In my last post, "Define Concepts", I defined the concepts Integral, SignedIntegral, and UnsigendIntegral…
![templatesTypeTraits](https://www.modernescpp.com/wp-content/uploads/2021/11/templatesTypeTraits.png)
The Type-Traits Library: Optimization
The type-traits library has two main goals: correctness and optimization. Today, I write about optimization.
This…
![templatesTypeTraits](https://www.modernescpp.com/wp-content/uploads/2021/11/templatesTypeTraits.png)
The Type-Traits Library: Correctness
The two main goals of the type-traits library are compelling: correctness and optimization. Today, I…
![templatesTypeTraits](https://www.modernescpp.com/wp-content/uploads/2021/11/templatesTypeTraits.png)
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](https://www.modernescpp.com/wp-content/uploads/2021/11/templatesTypeTraits.png)
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](https://www.modernescpp.com/wp-content/uploads/2021/11/templatesTypeTraits.png)
The Type-Traits Library: Type Checks
The type-traits library is part of C++11 and supports type checks, type comparisons, and type modifications…
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.…
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](https://www.modernescpp.com/wp-content/uploads/2016/11/ContainerVersusElement.png)
Type-Traits: Performance Matters
If you look carefully, you see type-traits have a big optimization potential. The type-traits support…
![compare](https://www.modernescpp.com/wp-content/uploads/2016/10/compare.png)
Compare and Modify Types
The type-traits library empowers you to compare and modify types. All is done at compile time therefore,…