Answers

Newest first. When a later standard changes an answer, the article is updated in place and says what changed and since when.

Document
Answers
Answers
117, newest first
Page
1 of 12
Written by
,
Sections
All eight
Feed
RSS
  1. C++ Operator Overloading Explained: A Complete Guide

    C++ operator overloading lets your types compare as naturally as ints. See when to use member or non-member operators and how C++20 handles comparisons.

    Careers §8.4Tobias Mwangi12 min read

  2. Memory Bound Code: Why Data Access Limits Speed

    Memory bound programs wait on data, not computation. See how caches, paging, profiling, and data layout expose bottlenecks and speed memory access.

    Concurrency §5.7Miriam Castellanos11 min read

  3. Function Overloading Explained: Rules and Limits

    Function overloading lets one name handle different parameter lists; see how C++ resolves calls, which standards support features, and why plain C differs.

    Templates §3.9Miriam Castellanos11 min read

  4. What Is the LLVM Compiler? A Complete Guide

    What is the LLVM compiler? See how Clang and LLVM's layers turn code into machine instructions, and inspect optimization in your own builds.

    Performance §4.6Miriam Castellanos8 min read

  5. How C++ Virtual Functions Pick the Right Code at Runtime

    C++ virtual functions route base-pointer calls to the right override at runtime. See how dispatch works and how override and final help prevent mistakes.

    Careers §8.3Tobias Mwangi10 min read

  6. C Copy Constructor Explained: How Objects Get Copied

    A C++ copy constructor creates a separate object from an existing one. See its signature, when memberwise copying fails, and how to prevent copying.

    Performance §4.5Miriam Castellanos8 min read

  7. Const Variable Explained: What It Is and How to Use It

    Const variable declarations prevent accidental writes; see how pointer placement changes what stays fixed, and which standard governs each rule.

    Language §1.39Miriam Castellanos6 min read

  8. Non-Uniform Memory Access Explained, With Tuning Tips

    Non uniform memory access makes local RAM faster than remote memory. See how to tune NUMA settings by hand and manage it in VMware virtual machines.

    Concurrency §5.6Miriam Castellanos5 min read

  9. std::list Explained: How Doubly Linked Lists Work

    std::list links elements in both directions, so you can insert without shifting neighbors. See its core operations, runnable example, and when vector is faster.

    Standard Library §2.42Miriam Castellanos9 min read

  10. Function Pointer in C: What It Is and How It Works

    A function pointer in C lets you choose a function at runtime. See how to declare, assign, and call one, then use it for callbacks and dispatch tables.

    Templates §3.8Miriam Castellanos6 min read