Blog
-
C++ Mutex & Lock — Mutual Exclusion, lock_guard,
C++ mutex and locks: std::mutex, lock_guard, unique_lock, std::lock, scoped_lock, recursive_mutex, timed_mutex, and avoiding deadlocks.
-
C++ Name Mangling Explained: Symbols, extern C,
How C++ encodes function and variable names for overloading and namespaces. Essential for debugging link errors, mixing C and C++, and ABI concerns.
-
C++ Namespaces: Complete Guide to Name Boundaries
C++ namespaces explained: avoiding name collisions, using-declarations vs using-directives, nested namespaces, anonymous namespaces, aliases, ADL.
-
C++ noexcept Complete Guide
Master C++ noexcept: exception specifications, conditional noexcept, why move operations need noexcept for container optimization, terminate.
-
C++ noexcept Specifier: Contracts, Moves, and std::terminate
C++ noexcept explained: exception contracts, conditional noexcept, move constructors, vector behavior, and the noexcept operator.
-
C++ nullptr | 'Null Pointer' Guide
Complete guide to C++11 nullptr: differences from NULL and 0, function overloading, nullptr_t, and migration strategies.
-
C++ nullptr vs NULL | Type-Safe Null Pointers
Why C++11 nullptr beats NULL and literal 0: std::nullptr_t, overload resolution, template deduction, and migration tips including clang-tidy modernize-u...
-
C++ numeric_limits | 'Type Limits' Guide
std::numeric_limits is a template class that queries the limit values and properties of types provided by the C++ standard library.
-
C++ Object Slicing: Value Copies, Polymorphism, and Fixes
Object slicing in C++: copying derived objects into base values loses state and breaks virtual dispatch—use references, pointers, and smart pointers.
-
C++ Observer Pattern: Complete Guide | Events
Observer pattern in C++: decouple publishers and subscribers, weak_ptr, typed events, signal/slot style—patterns, pitfalls, and production examples.