C++ Language — Deep Notes
Comprehensive C++ notes from fundamentals to advanced low-latency programming. Designed to build the depth needed for systems programming, competitive programming, and quantitative finance.
Topics
📘 Fundamentals
Types, variables, control flow, functions, arrays, strings, I/O — the building blocks.
🏗️ Object-Oriented Programming
Classes, inheritance, polymorphism, encapsulation, abstract classes, operator overloading.
🧠 Memory Management
Pointers, references, dynamic allocation, smart pointers, RAII, and memory pitfalls.
📦 Standard Template Library (STL)
Containers, iterators, algorithms, functors — the power of the C++ standard library.
🔧 Modern C++ (11/14/17/20)
Auto, range-for, structured bindings, constexpr, concepts, coroutines, and more.
🧬 Templates & Metaprogramming
Function/class templates, variadic templates, SFINAE, type traits, compile-time computation.
🔀 Move Semantics & Perfect Forwarding
Rvalue references, std::move, std::forward, copy/move elision, Rule of Five.
⚡ Concurrency & Multithreading
Threads, mutexes, atomics, condition variables, futures, lock-free programming.
🔥 Low-Latency C++
Cache optimization, lock-free structures, memory pools, profiling — for HFT and systems.
🎯 Lambda Functions
Lambda syntax, capture lists, generic lambdas, and real-world usage patterns.