Loading...

Tag trends are in beta. Feedback? Thoughts? Email me at [email protected]

How the STL Uses Explicit

Trivial, but not trivially default constructible

Ed Catmur’s Triliteral Esolang

Best engineering interview question I've gotten

The algebraic structure of Infinite Craft

The Auto macro

Fun with “deducing this” lambdas

Escape analysis hates copy elision (2021)

constexpr std::string update

Problems with default function arguments (2020)

Some C++20 ranges aren’t const-iterable

Just how constexpr is C++20’s std:string?

A not-so-quick introduction to the C++ allocator model

Don’t forward things that aren’t forwarding references

Polymorphic types and -Wdeprecated-copy-dtor

Mass Editing Memory in a Transformer

Fun with flat_map’s non-explicit constructors

Escheresque parquet deformations of an aperiodic monotile

Most C++ constructors should be explicit

Simple C++20 input and output iterators

Always read the first error message first

Copy semantics, per Plato’s Sophist

Replacing std::lock_guard with a factory function

Refactoring with =delete

Prefer core-language features over library facilities

What is the “vector pessimization”?

Beware CTAD on reverse_iterator

Fun with lifetime-extended results of assignment

void versus [[noreturn]]

An example where inline constexpr makes a difference

More →