C++
Aug 4, 2026
what c++20 and c++23 add to smart pointers.
C++20 and C++23 introduced several enhancements to smart pointers, making them more versatile and easier to use. Here's a summary of the key additions: C++20: Deducible templates for std::unique_ptr and std::shared_ptr:...
4 reads
3 today
Read article
C++
Aug 4, 2026
A Deeper Dive into C++ STL Containers
Sequence Containers vector Internal implementation: Dynamically resizable array. Key operations: push_back: Efficiently adds an element to the end. pop_back: Efficiently removes the last element. front, back: Accesses...
3 reads
3 today
Read article
C++
Aug 4, 2026
Concise guide on using STL map and unordered_map in modern C++, along with a comparison to JavaScript Map:
STL map Ordered associative container: Elements are stored in a sorted order based on their keys. Implementation: Typically uses a red-black tree. Key operations: insert: Inserts a new key-value pair. find: Searches for...
2 reads
1 today
Read article
C++
Aug 4, 2026
C++23 Enhancements for Multithreading
C++23 introduced a set of new features to improve multithreading in C++, making writing concurrent programs safer and easier. Here are some of the most prominent additions: std::jthread: This is an improvement over the...
2 reads
1 today
Read article
C++
Aug 4, 2026
Why Handling JSON Files Remains Challenging in Delphi/C++Builder Compared to Modern Languages
Although JSON support in Delphi/C++Builder has significantly improved in recent years, there are some reasons why handling it is still considered challenging compared to some other modern languages: Language History:...
2 reads
2 today
Read article
C++
Aug 4, 2026
Types of Design Patterns in Modern C++
Design patterns are proven solutions to recurring design problems in programming. In modern C++, these patterns play a vital role in building flexible, maintainable, and scalable applications. Here are the main types of...
0 reads
0 today
Read article
C++
Aug 4, 2026
C++20 Modules: A Revolution Yet to be Fully Realized
C++20, released in late 2020, brought many exciting features to the language, with Modules being one of the most anticipated. This feature promised to solve many of the long-standing problems associated with the...
2 reads
1 today
Read article
C++
Aug 4, 2026
Unveiling the Curiosities of the Curiously Recurring Template Pattern (CRTP) in C++
xxxxxxxxxx #include <iostream> template <typename Derived>struct Base { void interface() { static_cast<Derived*>(this)->implementation(); }}; struct Derived1 : Base<Derived1> { void...
1 reads
1 today
Read article
C++
Aug 4, 2026
Optimizing the Use of Templates and Generic Programming in Modern C++: Best Practices, Additions, and the Role of Concepts
Introduction Templates and generic programming are among the most powerful tools in a C++ developer's arsenal. They enable the writing of flexible and reusable code, reducing redundancy and the effort involved in...
1 reads
1 today
Read article