Skip to content

0x30: P2981 and P3298, units and conversion

Photo of Harald
Hosted By
Harald
0x30: P2981 and P3298, units and conversion

Details

Welcome to Stockholm C++ Meetup #48!

I'm excited to announce that we have two ISO C++ members and paper authors, Mateusz Pusz and Bengt Gustafsson, as speakers for this meetup.

A big thank you to our SwedenCpp Pro Partner, Nexer, for hosting this event at their new office in the city center. (Note: new address!)

Door open 17:30, Program starts at 18:00

  • Intro and event host presentation
  • Mateusz: Improving our safety with a quantities and units library
  • Casual mingling and networking with refreshments 🍕🥤🤝
  • Bengt: Implicit conversion functions - standardizing a small feature

The program in detail:

Mateusz Pusz: Improving our safety with a quantities and units library
Safety has been a huge buzzword in the C++ Community in recent years. There are many concerns about the safety of our C++ language, and projects developed using it. Many improvements are being discussed, starting from handling of the low-level fundamental types, through updating the language rules (e.g., initialization), up to providing safer high-level abstractions in the library.
This lecture presents how the usage of a Modern C++ quantities and units library can improve the safety of the code we write every day. During the talk, Mateusz will describe issues and possible solutions discussed in P2981: Improving our safety with a physical quantities and units library. Based on the examples developed with the mp-units project, the attendees will not only learn the obvious benefits of using such a library but also some less known safety features will be presented.

Bengt Gustafsson: Implicit conversion functions -- standardizing a small feature
With implicit conversion functions you can create proxy classes and smart references. Standardizing even such a small feature -- just a new specifier -- is a major task. The different steps of the standardization process are presented, from idea to standard rollout. The paper: Implicit user defined conversion functions as operator.()

Väl mött! 🎉

Photo of StockholmCpp group
StockholmCpp
See more events