Answers

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

Each answer names the standard it is written for: 111417202326

Document
Answers
Answers
112, newest first
Page
12 of 12
Written by
Sections
All eight
Feed
RSS
  1. using namespace std: what it does and what to write instead

    What using namespace std does to name lookup, the clashes and silent overload changes it caused on four compilers, and what to write instead.

    Language §1.615 min readC++17

    written for C++17

  2. When to mark a move constructor noexcept in C++

    Mark moves and swap noexcept when they cannot throw, or std::vector copies where it could move. What is noexcept already, and how to check it at compile time.

    Performance §4.314 min readC++20

    written for C++20