C++20 Coroutine

C++20 Coroutine: Under The Hood

Reading Time: 12 minutes A coroutine is one of the major feature introduced with the C++20 standard apart from Module, Ranges & Concept. And you see how happy I am to unfold it. I already set the baseline on this topic with my previous […]

Regex C++ Regular Expression

Regex C++

Reading Time: 8 minutes Regular expressions (or regex in short) is a much-hated & underrated topic so far with Modern C++. But at the same time, correct use of regex can spare you writing many lines of code. If you have spent quite enough […]

std map C++

Using std::map Wisely With Modern C++

Reading Time: 8 minutes std::map and its siblings(std::multimap, std::unordered_map/multimap) used to be my favourite containers when I was doing competitive programming. In fact, I still like them(though using less frequently nowadays). And with Modern C++, we now have more reasons to use std::map. That’s […]

CRTP C++ Examples

CRTP C++ Examples

Reading Time: 10 minutes Curiously Recurring Template Pattern(CRTP) in C++ is definitely a powerful technique & static alternative to virtual functions. But at the same time, learning it may seem a bit weird at first. If you are like me who struggled to grasp […]

C++ Template | variadic template C++

Variadic Template C++: Implementing Unsophisticated Tuple

Reading Time: 8 minutes From C++11, std::tuple is an incredible expansion to Modern C++, that offers a fixed-size col­lec­tion of het­ero­ge­neous values. Un­for­tu­nately, tu­ples can be somewhat dubious to manage in a conventional fash­ion. But, subsequently released C++ stan­dard in­tro­duced a few fea­tures & […]

C++ Template | variadic template C++

C++ Template: A Quick UpToDate Look(C++11/14/17/20)

Reading Time: 18 minutes I know, it’s been a while since the last time I published something newbies-friendly on my blog. The main reason is that most of my readers are either experienced devs or from C background having modest C++ encounter. But while […]

What exactly nullptr is in C++ vishal chovatiya

What Exactly nullptr Is in C++?

Reading Time: 5 minutes The answer to “What exactly nullptr is in C++?” would be a piece of cake for experienced C++ eyes & for those who are aware of Modern C++ i.e. keyword. But nullptr is more than just a keyword in C++ […]

7 Advance C++ programming styles and idiom examples you should know vishal chovatiya

7 Advance C++ Concepts & Idiom Examples You Should Know

Reading Time: 13 minutes So I have started updating myself with Modern C++ a while ago & since my post 21 new features of Modern C++ to use in your project & All about lambda function in C++ was popular I decided to write […]


C++ Exception Handling Best Practices: 7 Things To Know

Reading Time: 11 minutes Exception handling in C++ is a well-unschooled topic if you observe initial stages of the learning curve. There are numerous tutorials available online on exception handling in C++. But few explains what you should not do & intricacies around it. […]

21 new features of Modern C++ to use in your project, Move Constructor & Assignment Operator, unique_ptr with example in C++

21 New Features of Modern C++ to Use in Your Project

Reading Time: 10 minutes So, you came across the Modern C++ & overwhelmed by its features in terms of performance, convenience & code expressiveness. But in a dilemma that how you can spot where you can enforce Modern C++ features in your day to […]

All about lambda functions in C++

All About Lambda Function in C++(From C++11 to C++20)

Reading Time: 7 minutes Lambda function is quite an intuitive & widely loved feature introduced in C++11. And, there are tons of articles & tutorials already available on the topic. But, there are very few or none of them touched upon things like IIFE, […]

21 new features of Modern C++ to use in your project, Move Constructor & Assignment Operator, unique_ptr with example in C++

Move Constructor & Assignment Operator With std::shared_ptr

Reading Time: 4 minutes In an earlier article, we have seen how move constructor & move assignment operators helped us in creating our own unique_ptr. Here we will use move constructor & assignment operator to implement unsophisticated shared_ptr. Implementing Our shared_ptr with Move Constructor […]

21 new features of Modern C++ to use in your project, Move Constructor & Assignment Operator, unique_ptr with example in C++

Understanding unique_ptr with Example in C++11

Reading Time: 6 minutes The smart pointers are a really good mechanism to manage dynamically allocated resources. In this article, we will see unique_ptr with example in C++11. But we don’t discuss standard smart pointers from a library. Rather, we implement our own smart […]