C++ Core Guidelines: Non-Rules and Myths

Of course, you already know many non-rules and myths to C++. Non-rules and myths which we have to argument against when we use modern C++. The supporting section of the C++ core guidelines addresses the most resistant once but also provides alternatives.

Read more
Views: 12809

C++ Core Guidelines: Supporting Sections

Let's recapitulate. In the last two years, I have written about 100 posts to the C++ Core Guidelines. Why? The document answers:  "This document is a set of guidelines for using C++ well. The aim of this document is to help people to use modern C++ effectively.". But my story does not end here. The guidelines have a supporting section.

Read more
Views: 8027

C++ Core Guidelines: When RAII breaks

Before I write about the very popular RAII idiom in C++, I want to present you a trick, which is often quite handy, when you repeatedly search for a text pattern:  use negative search.

Read more
Views: 14812

More Rules to the Regular Expression Library

There is more to write to the usage of regular expressions than I wrote in my last post The Regular Expression Library. Let's continue.

Read more
Views: 4287

The Regular Expression Library

My original plan was it to write about the rules of the C++ Core Guidelines to the regex and chrono library, but besides the subsection title, there is no content available. I already wrote a few posts about time functionality. So I'm done. Today, I fill the gap and write about the regex library.

Read more
Views: 20789

C++ Core Guidelines: Improved Performance with Iostreams

As easy as my title and the rules of the C++ core guidelines sound, getting more performance out of the Iostreams is no no-brainer.

Read more
Views: 15345

Stuff you should know about In- and Output with Streams

Today's post is about what you should know about Iostreams. In particular, I write about formatted and unformatted In- and Output.

Read more
Views: 11950

C++ Core Guidelines: Iostreams

When you interact with the outside world, the iostream library is the way to go in C++. As always you have to keep a few rules in mind. Let me show, which rules.

Read more
Views: 10866

C++ Core Guidelines: Rules for Strings

The C++ core guidelines use the term string as a sequence of characters. Consequently, the guidelines are about  C-strings, C++-strings, the C++17 std::string_view's, and std::byte's. 

Read more
Views: 16874

C++ Core Guidelines: Avoid Bounds Errors

When you access an element outside a container of the STL, the result is not so promising. You effect may be an error or undefined behaviour. Undefined behaviour means all bets are open.

Read more
Views: 10699

My Newest E-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

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 3422

All 3652746

Currently are 154 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments