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
Add CommentViews: 5036

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
Add CommentViews: 7842

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
Add CommentViews: 5281

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
Add CommentViews: 7148

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
Add CommentViews: 7385

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
Add CommentViews: 7391

More special Friends with std::map and std::unordered_map

Modern C++ has eight associative containers, but your special friends should be std::map and std::unordered_map. Why? Let me explain it in this post.

Read more
Add CommentViews: 6645

C++ Core Guidelines: std::array and std::vector are your Friends

In 99 % of your use-cases for a sequential container, you are totally fine with a std::array or a std::vector. What? If you don't believe me, read this post.

Read more
Add CommentViews: 22596

C++ Core Guidelines: The Standard Library

The rules to the C++ standard library are mainly about containers, strings, and iostreams.

Read more
Add CommentViews: 9751

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 183

All 2411728

Currently are 214 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments