Next BeCPP UG Meeting Planned for January 17th, 2023

December 8, 2022 Marc Gregoire Events

I’m happy to announce that the next meeting of the Belgian C++ Users Group is planned for Tuesday January 17th, 2023 at 18:00 at Medicim / Envista.

Medicim / Envista ( https://www2.medicim.com/ ) is sponsoring this event by providing the location, drinks and catering.

Medicim LogoEnvista Logo

The agenda is as follows:

  • 18:00: Reception with food.
  • 18:30: Session 1: Constraints and Concepts (Peter Van Weert)
    This presentation consists of two parts:
    First, I explain how you can, and more importantly should, constrain your template arguments using requires clauses and, typically, concepts. Doing so results in more readable compilation errors, self-documenting template definitions, and easier, more expressive template specialization.
    Next, I show how you can define your own concepts using the new syntax introduced in C++20. Quite some new syntax to learn, for sure, but you’ll quickly see that constraints and concepts are far easier to master (or at least understand) than the more advanced SFINAE techniques (std::enable_if_t, std::void_t, …) they essentially supersede.
  • 19:30: Break
  • 19:45: Session 2: Space Invaders: The Spaceship Operator is upon us (Lieven de Cock)
    Before C++20 we had to write 6 comparison operators for our user defined types (or even more). For sure, a tedious task. All this gets simplified with the introduction of the spaceship operator.
    What happens to your code, when you turn on “-std=c++20” even before we go near the spaceship operator, did your build break? Why does that happen? We will first investigate, another new feature of C++20, the rewriting rules, and how that impacts your code base. And then we will dissect the spaceship operator, from a using perspective, and from an implementation perspective. Oh yes, comparison categories, what are those, and why are these important with respect to the spaceship operator? All will be answered, what initially looked so simple, does require some extra thoughts it seems to correctly use the tool.
  • 20:45: Introduction to Medicim / Envista, followed by a drink.

Professional C++, 5th Edition
We will be giving away a copy of Professional C++, 5th Edition.

The event is free for everyone, but you need to register for it.

There are 75 seats available for this event.

Note: The deadline for registrations is January 13th, 2023!

C++20,


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Powered by WordPress. Designed by elogi.