Blog
-
C++ =default and =delete: Special Members, ODR, and Rule of
C++11 =default and =delete: controlling special members, non-copyable types, deleted conversions, heap-only types, Rule of Five vs Rule of Zero, and noe...
-
C++ Default Initialization | A Complete Guide to 'Default Initialization'
The difference between default, value, and zero initialization in C++, and why an "uninitialized" variable does not always mean garbage values.
-
The Complete Guide to C++20 Designated Initializers | Clear Struct Initialization
A complete guide to initializing structs clearly with C++20 Designated Initializers. Covers syntax, order rules, nested structs, practical usage, and more.
-
C++ directory_iterator — Complete Guide
directory_iterator vs recursive_directory_iterator, directory_options, symlinks, error_code overloads, filtering, disk usage, and performance tips.
-
C++ duration | 'Time Interval' Guide
Working with std::chrono::duration in C++ - representing time intervals, converting between units safely, and avoiding truncation bugs.
-
C++ Dynamic Initialization | 'Dynamic Initialization' Guide
A guide to C++ dynamic initialization: how it differs from static/constant initialization, when it runs, and pitfalls with global object order.
-
C++ enum class | Scoped Enumerations Explained
Strongly typed scoped enums in C++11: no implicit int conversion, explicit underlying types, switch hygiene, and bit flags with constexpr helpers.
-
C++ enum class | Scoped Enumerations Explained
Strongly typed scoped enums in C++11: no implicit int conversion, explicit underlying types, switch hygiene, and bit flags with constexpr helpers.
-
C++ Exception Handling Complete Guide
Master C++ exceptions: standard hierarchy, catch-by-reference, exception safety guarantees (basic/strong/nothrow), RAII patterns, noexcept interaction.
-
C++ File Status | 'File Status' Guide
C++17 std::filesystem file_status·perms, status and symlink_status, file_type·permission checks, backup·log cleanup practice, Windows and POSIX.