Jonathan Müller
banner
foonathan.fosstodon.org.ap.brid.gy
Jonathan Müller
@foonathan.fosstodon.org.ap.brid.gy
C++, compilers, and programming languages. Library developer @ think-cell, chair for std::ranges @ C++ standardization committee.

[bridged from https://fosstodon.org/@foonathan on the fediverse by https://fed.brid.gy/ ]
@vitaut Feels like -0°.
November 19, 2025 at 11:47 AM
I'm hoping a cobus is enough like a bus in that it gets me to my destination.
October 22, 2025 at 11:05 AM
Got tired of linking with LLVM so I've written something to emit bitcode directly. The blocks and records are conveniently defined in a little X macro file which then is used to stamp out a fully type safe builder API.
August 17, 2025 at 8:20 AM
I'm going to be speaking at the C++ meetup in Helsinki on February 4th!

Overengineering `max(a, b)`: Mixed Comparison Functions, Common References, and Rust's Lifetime Annotations

https://www.meetup.com/cpphelsinki/events/305683323/?eventOrigin=group_upcoming_events

#cpp #cplusplus
January 24, 2025 at 9:27 AM
I've found a cool idiom for tagged unions of aggregates: Give each aggregate member a tag defaulted to the correct kind. That way, when you use designated initializers to construct the object, it will be automatically initialized correctly.

https://godbolt.org/z/MYE91hGY6

#cpp #cplusplus
December 18, 2024 at 5:23 PM