Blog
-
C++ Fold Expressions | Folding Parameter Packs in C++17
C++17 fold expressions explained: unary/binary folds, left vs right, empty packs, supported operators, and patterns for sum, print, all_of, and containers.
-
C++ Forward Declaration: Reduce Includes, Break Cycles, Speed Builds
Forward-declare classes and functions when pointers/references suffice. Cut compile times, break circular includes, and know when a full definition is r...
-
C++ friend Keyword: Access Control, Operators, and Encapsulation
friend functions and classes grant access to private and protected members. When to use friend for operators and factories, and how to avoid excessive coupling.
-
C++ Functions: Parameters, Return Values, Overloading, and Default Arguments
Complete C++ function guide for beginners: declaration vs definition, pass by value/reference/pointer, return rules, RVO, default arguments, overloading, inline, and recursion.
-
C++ function objects | Functors, operator(), and STL algorithms
What functors are, stateful vs function pointers, STL algorithms with predicates, comparison functors, and std::function overhead vs templates.
-
C++ Function Overloading: Rules, Ambiguity, and Name Mangling
Learn C++ function overloading: same name, different parameters. Resolution rules, common ambiguities, default arguments, and how it ties to name mangling.
-
C++ Function Pointer | 'Function Pointer' Guide
C++ function pointer int add(int a, int b) { return a + b; }. Organize from concept to usage with practical examples and code. Focused on C++, function-...
-
C++ future and promise | 'Asynchronous' guide
Everything about C++ future and promise : from basic concepts to practical applications. Master key content quickly with examples.'asynchronous' guide. ...
-
C++ GDB: A Practical Debugger Guide
C++ GDB guide: breakpoints, stepping, variables, backtraces, -g builds, core dumps, and multithreaded debugging—with real examples. Focus on C++, gdb, debugging.
-
[2026] C++ Generic Lambdas — auto Parameters and Template Lambdas (C++20)
Generic lambdas in C++14: auto makes operator() a template, C++20 template lambdas, STL patterns, deduction rules, performance, and common pitfalls.