Cpp2 design notes: UFCS, “const”, “unsafe”, and (yes) ABI

Thanks to everyone who has offered bug reports and constructive suggestions for Cpp2 and cppfront. To answer common questions I encounter repeatedly, I’ve started a wiki with “Design no… | Continue reading


@herbsutter.com | 1 year ago

Something I implemented today: “is void”

Brief background As I presented at CppCon 2021 starting at 11:15, I’m proposing is (a general type or value query) and as (a general cast, for only the safe casts) for C++ evolution. The talk… | Continue reading


@herbsutter.com | 1 year ago

Variable Initialization – Or Is It? (2013)

This first problem highlights the importance of understanding what you write. Here we have a few simple lines of code—most of which mean something different from all the others, even though the syn… | Continue reading


@herbsutter.com | 2 years ago

Trip Summer 2021 ISO C++ standards meeting (virtual)

On Monday, the ISO C++ committee held its third full-committee (plenary) meeting of the pandemic and adopted a few more features and improvements for draft C++23. We had representatives from 17 vot… | Continue reading


@herbsutter.com | 2 years ago

Trip report: Winter 2021 ISO C++ standards meeting (virtual)

Today, the ISO C++ committee held its second full-committee (plenary) meeting of the pandemic and adopted a few more features and improvements for draft C++23. A record of 18 voting nations sent re… | Continue reading


@herbsutter.com | 3 years ago

Trip Autumn ISO C++ standards meeting (virtual)

On Monday, the ISO C++ committee completed its final full-committee (plenary) meeting of 2020 and adopted the first changes to the C++23 working draft, including a few new features. This was a firs… | Continue reading


@herbsutter.com | 3 years ago

Herb Sutter Plans at CppCon

It’s hard to believe CppCon 2020 is nearly here… in fact, pre-conference tutorials are already in progress. I’ll be at the conference throughout the week in the hallways and sessi… | Continue reading


@herbsutter.com | 3 years ago

C++20 approved, C++23 meetings and schedule update

A couple of interesting things happened in the ISO C++ world this week… C++20 passed unanimously, on track to publish later this year On Friday September 4, C++20’s DIS (Draft Internati… | Continue reading


@herbsutter.com | 3 years ago

Speaking at DevAroundTheSun

Next week, I’m honored to be part of DevAroundTheSun, a live 24-hour global event for COVID-19 relief that starts on May 12 at 12:00 UTC. It’s like LiveAid or Lady Gaga’s recent O… | Continue reading


@herbsutter.com | 4 years ago

The Varna ISO C++ meeting is postponed

Yesterday morning, I announced to the committee that the next ISO WG21 (C++) meeting originally planned for June 1-6 in Varna, Bulgaria, has been postponed due to the covid-19 pandemic. We apprecia… | Continue reading


@herbsutter.com | 4 years ago

References, Simply

References are for parameter passing, including range-for. Sometimes they’re useful as local variables, but pointers or structured bindings are usually better. Any other use of references typ… | Continue reading


@herbsutter.com | 4 years ago

Trip Winter ISO C++ standards meeting (Prague)

A few minutes ago, the ISO C++ committee completed its final meeting of C++20 in Prague, Czech Republic. Our host, Avast Software, arranged for spacious and high-quality facilities for our six-day … | Continue reading


@herbsutter.com | 4 years ago

Move, simply

C++ “move” semantics are simple, but they are still widely misunderstood. This post is an attempt to shed light on that situation. Thank you to the following for their feedback on draft… | Continue reading


@herbsutter.com | 4 years ago

Trip Autumn ISO C++ Standards Meeting (Belfast)

A few minutes ago, the ISO C++ committee completed its autumn meeting in Belfast, Northern Ireland, hosted with thanks by clearpool.io, Archer-Yates, Microsoft, C++ Alliance, MCS Group, Instil, and… | Continue reading


@herbsutter.com | 4 years ago

Survey results: Your “top five” ISO C++ feature proposals

Today I collated and analyzed the results of the survey I posted two weeks ago. I presented you with a daunting unsorted list of ~300 eye-numbing paper titles, and still 289 of you responded with ~… | Continue reading


@herbsutter.com | 4 years ago

Trip Summer ISO C++ Standards Meeting (Cologne)

Obligatory comment: The C++20 Eagle has wings. At noon today, July 20 2019, the ISO C++ committee completed its summer meeting in Cologne, Germany, hosted with thanks by Think-Cell, SIGS Datacom, S… | Continue reading


@herbsutter.com | 4 years ago

Why the C++ standard ships every three years

WG21 has a strict schedule (see P1000) by which we ship the standard every three years. We don’t delay it. Around this time of each cycle, we regularly get questions about “but why so strict?”, esp… | Continue reading


@herbsutter.com | 4 years ago

A theme: Simplifying C++ (& CppCast podcast)

This week I was happy to join Rob Irving and Jason Turner on their great CppCast podcast. I chose “Simplifying C++” as the theme, because all of the active work I’ve chosen to do … | Continue reading


@herbsutter.com | 4 years ago

Implementing the C++ Core Guidelines' Lifetime Safety Profile in Clang

At CppCon 2018, I gave an update of my Lifetime analysis work that makes common cases of pointer/iterator/range/etc. dangling detectable at compile time (the spec is here in the C++ Core Guidelines… | Continue reading


@herbsutter.com | 5 years ago

A Heterogeneous Supercomputer in Every Pocket (2012)

Or, A Heterogeneous Supercomputer in Every Pocket   In the twilight of Moore’s Law, the transitions to multicore processors, GPU computing, and HaaS cloud computing are not separate trends, bu… | Continue reading


@herbsutter.com | 5 years ago

Trip report: Fall ISO C++ standards meeting (San Diego)

On Saturday November 10, the ISO C++ committee completed its fall meeting in San Diego, California, USA, hosted with thanks by Qualcomm. This was the biggest ISO C++ meeting in our 29-year history,… | Continue reading


@herbsutter.com | 5 years ago

Pre-trip report: Fall ISO C++ standards meeting (San Diego)

In one hour, our fall meeting will begin. I’ll still write a trip report at the end with the results of the meeting, but because this is an unusually (and historically) large meeting we’… | Continue reading


@herbsutter.com | 5 years ago

C++ Lifetime profile v1.0 posted

I love C++. I also love safe code and not having to worry about dangling pointers and iterators and views. So I’ve been doing some work to make my life less conflicted: As long promised, the Lifeti… | Continue reading


@herbsutter.com | 5 years ago

Trip report: Summer ISO C++ standards meeting (Rapperswil)

On Saturday June 9, the ISO C++ committee completed its summer meeting in beautiful Rapperswil, Switzerland, hosted with thanks by HSR Rapperswil, Zühlke, Netcetera, Bbv, SNV, Crealogix, Meeting C+… | Continue reading


@herbsutter.com | 5 years ago