Tag: C++14
6 posts
-
Modern C++ (C++11~C++20) Core Syntax Cheatsheet | auto·Lambda·Smart Pointers·Concepts at a Glance
Modern C++ C++11~C++20 core syntax cheatsheet. auto, range-for, lambda, smart pointers, optional, variant, Concepts, Ranges copy-paste ready summary for...
-
C++ Chrono Literals | 'Time Literals' Guide
How to write duration readably with C++14 chrono literals (1s, 500ms, 2h, etc.). Covers std::chrono_literals, unit operations, and practical examples. F...
-
[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.
-
[2026] C++ Init-Capture — C++14 [x = expr], Move, and unique_ptr Patterns
C++11 capture vs C++14 init-capture ([x=expr]): move semantics, unique_ptr, async patterns, and common lifetime mistakes with lambdas.
-
C++ Lambdas: Syntax, Captures, mutable, and Generic Lambdas
Complete guide to C++ lambda expressions: capture lists, mutable lambdas, C++14 generic lambdas, STL algorithms, and common pitfalls (dangling captures).
-
C++ constexpr Functions and Variables: Compute at Compile Time [#26-1]
Master C++ constexpr: compile-time constants, constexpr functions, literal types, C++14/20 rules, if constexpr, consteval, lookup tables, and common err...