C++ Now 2019 Keynote Announcement: Compile Time RegEx by Hana Dusíková

C++Now 2019 will be held in Aspen, Colorado, from May 5-10. Registration is still open!

Keynote Announced: Hana Dusíková on Compile Time Regular Expressions

From the announcement:

The theme of this year’s keynotes is Compile-time Magic and the first keynote that we are announcing is Hana Dusíková’s presentation of a library that performs at compile-time, work that is often done at runtime.

Hana’s keynote is entitled Compile Time Regular Expressions with Deterministic Finite Automaton.

Call for papers -- code::dive

code::dive 2019 just started its call for papers until the end of 2019-06-30.

Call for papers

by code::dive

About the conference:

code::dive 2019 is the 6th edition of the code::dive conference, taking place at Cinema New Horizons at Wrocław, Poland, on 20-21 of November. The conference is organized by Nokia Wrocław.

Expressing fire-and-forget coroutines more explicitly, -or- How to turn any coroutine into fire-...

The series continues.

Expressing fire-and-forget coroutines more explicitly, -or- How to turn any coroutine into fire-and-forget

by Raymond Chen

From the article:

Last time, we looked at how to mark a coroutine as fire-and-forget, meaning that the caller does not get any information about when the coroutine completes. This is fine as far as it goes, but it may not be what you want...

Trip Report: C++ Standards Meeting in Kona, February 2019--Botond Ballo

Everything you need to know.

Trip Report: C++ Standards Meeting in Kona, February 2019

by Botond Ballo

From the article:

A few weeks ago I attended a meeting of the ISO C++ Standards Committee (also known as WG21) in Kona, Hawaii. This was the first committee meeting in 2019; you can find my reports on 2018’s meetings here (November 2018, San Diego), here (June 2018, Rapperswil), and here (March 2018, Jacksonville). These reports, particularly the San Diego one, provide useful context for this post...

winrt::fire_and_forget was too forgetful

Heard about it?

winrt::fire_and_forget was too forgetful

by Raymond Chen

From the article:

C++/WinRT provides a handy helper class called winrt::fire_and_forget. It lets you specify that nobody is going to observe the result of the coroutine. This is handy because it lets you tell the compiler that the lack of observation is intentional, so it won’t generate a warning...

Quick Q: Compile-time loop optimisation

Quick A: each release of C++ allows more things to be done at compile time.

Recently on SO:

Compile-time loop optimisation

In C++14, constexpr function requirements were relaxed.

Previously, in C++11, constexpr functions could only contain typedefs, static_asserts and usings, but only a single return statement.

In C++14, it became possible to use loops in constexpr function bodies.

Because b was declared as constexpr char, it must be evaluated at compile time. The compiler then optimised out the isStringNice function, as it is not used at run time.