Strongly-Typed Enums

Enumerations are a convenient way to define integer constants with names. This integer constants are called enumerators. Sadly, classical enums have a few drawbacks.

Read more
Tags: enum
Comments 10Views: 6435

Raw and Cooked

C++11 has user-defined literals for characters, C strings, integers and floating point numbers. For integers and floating point numbers they are available in raw and cooked form. Thanks to C++14 we have built-in literals for binary numbers, C++ strings, complex numbers, and time units.

Read more
Comments 45Views: 3756

User-Defined Literals

User-defined literals are a unique feature in all mainstream programming languages. They empower you to combine values with units.

Read more
Add CommentViews: 3230

Published at Leanpub: The C++ Standard Library

Just published: The C++ Standard Library: What every professional C++ programmer should know about the C++ standard library.

Read more
Comments 6Views: 5474

I'm proud to present: The C++ Standard Library

The C++ Standard Library: All you have to know as professional programmer about the C++ library.

Read more
Comments 4Views: 5297

Compare and Modify Types

The type-traits library empowers you to compare and modify types. All is done at compile time therefore there is no performance penalty.

Read more
Comments 2Views: 5590

Check Types

Template Metaprogramming is programming at compile time. But what has template metaprogramming in common with the type-traits library? A lot! The type-traits library is pure template metaprogramming, tamed in a library. With this post my presentation of the type-traits library becomes more structured.

Read more
Comments 1Views: 4579

My Newest E-Books

Latest comments

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 2441

All 779577

Currently are 225 guests and no members online