Meeting 117 (3 December 2020)

Beman Dawes

Remembering Beman Dawes, by Bjarne Stroustrup and Herb Sutter


WG21 Index

Trip report: Autumn ISO C++ standards meeting (virtual)

C++ programming language: How it became the invisible foundation for everything, and what’s next

Remember the Vasa and Mary Rose

C++ rules of initialization

The C++20 initialization flowchart

Detecting Uninitialized Variables in C++ with the Clang Static Analyzer

The most evil C++ code

Reddit: What was the most evil C++ code you have seen in a production environment?

Error codes are far slower than exceptions

C#-like events in C++


(Unrelated: Variable name prefixes)

Uses of immediately invoked function expressions (IIFE) in C++

Overloading by Return Type in C++

 1struct to_string_t {
 2  std::string_view s;
 4  // int  from_string(std::string_view s);
 5  operator int() const;
 6  // bool from_string(std::string_view s);
 7  operator bool() const;
10int i = to_string_t{"7"};
11bool b = to_string_t{"true"};

The Defold game engine code style


Code style

  • C-like C++
  • No classes (huh?GD)
  • No exceptions
  • No STL
    • Custom containers
  • Data ownership tracking
  • C++98

(It’s the end of 2020, by the way. – GD)

A Buffers Library for C++20

Colby Pike

vcpkg: Accelerate your team development environment with binary caching and manifests


Why is it such an abysmal pain to use libraries in C++ compared to pretty much anything else?

Raymond Chen on structured bindings

Twitter on editor themes