Blog
-
C++ Set Operations on Sorted Ranges: set_union, intersection & difference
Run set_union, set_intersection, set_difference, set_symmetric_difference, and includes on sorted ranges — complexity, duplicates, and output iterators.
-
C++ Algorithm Sort: std::sort, stable_sort, partial_sort & nth_element Complete Guide
Compare C++ std::sort, stable_sort, partial_sort, and nth_element: custom comparators, partial sorts, median selection, and practical STL sorting patterns.
-
C++ Memory Alignment | Complete Guide to Alignment, Padding & False Sharing
C++ memory alignment, padding, alignas, alignof, False Sharing prevention, and struct optimization with practical examples.
-
C++ Allocator | Custom allocators for STL containers
Default std::allocator, passing allocators to containers, custom pool and tracking allocators, PMR monotonic_buffer_resource, and allocator propagation ...
-
C++ any | 'Type Erasing' Guide
A guide that summarizes std::any and variant·void* comparison, type safety, any_cast, practical examples, and performance overhead.
-
C++ async & launch | Complete Guide to std::async, future & launch policies
std::async is a C++11 API that executes functions asynchronously and receives results via future. Complete guide to launch::async, launch::deferred poli...
-
C++ Atomic | A Complete Guide to Memory Order
This is a development blog post summarizing C++ Atomic. #include <atomic> #include <thread> using namespace std;. Start now.
-
C++ Atomic Operations | 'Atomic Operations' Guide
C++ std::atomic and how to prevent data races in multithreads using atomic operations. Explains the advantages over mutexes and practical code patterns.
-
C++ Attributes | Complete 'Attributes' Guide
How to use C++ attributes (nodiscard, deprecated, etc.) for compiler hints and warnings. Comprehensive guide to commonly used attributes in production w...
-
C++ auto Keyword | Type Deduction Complete Guide
Use the C++ auto keyword for type deduction: fewer repeated type names, deduction rules, iterators, lambdas, and pitfalls. Practical guide for modern C++.