[bridged from https://fosstodon.org/@foonathan on the fediverse by https://fed.brid.gy/ ]
`trivially_relocatable_if_eligible`
and
`replacable_if_eligible`!
C++ - you're gonna need a bigger column limit.
if consteval {
if constexpr (foo) {
if (bar) {
throw error;
}
}
}
if consteval {
if constexpr (foo) {
if (bar) {
throw error;
}
}
}
`trivially_relocatable_if_eligible`
and
`replacable_if_eligible`!
C++ - you're gonna need a bigger column limit.
`trivially_relocatable_if_eligible`
and
`replacable_if_eligible`!
C++ - you're gonna need a bigger column limit.
We will meet at SLB starting at 6:30 p.m., and the talks will begin at 7:00 p.m..
If possible, please pre-register at […]
[Original post on nrw.social]
We will meet at SLB starting at 6:30 p.m., and the talks will begin at 7:00 p.m..
If possible, please pre-register at […]
[Original post on nrw.social]
For example, you need to define all types that a module is using without duplicates. This is easily done with a hash table and ideally you could use the binary serialization as key: Serialize into a buffer, do lookup in […]
For example, you need to define all types that a module is using without duplicates. This is easily done with a hash table and ideally you could use the binary serialization as key: Serialize into a buffer, do lookup in […]
https://algora.io/profile/foonathan
https://algora.io/profile/foonathan
I don't even use C++, but it was so well presented that I felt I still understood
I don't even use C++, but it was so well presented that I felt I still understood
https://github.com/foonathan/lexy
#cpp #cplusplus
https://github.com/foonathan/lexy
#cpp #cplusplus
First, a repeat of my "Overenginering max(a, b)" talk, which is just a bunch of fun metaprogramming to solve a safety problem.
Then, a new talk "Missing (and future?) range concepts" […]
First, a repeat of my "Overenginering max(a, b)" talk, which is just a bunch of fun metaprogramming to solve a safety problem.
Then, a new talk "Missing (and future?) range concepts" […]
https://schedule.cppnow.org/session/2025/missing-and-future-c-range-concepts/
#cpp #cplusplus
https://schedule.cppnow.org/session/2025/missing-and-future-c-range-concepts/
#cpp #cplusplus
* -Wimplicit-fallthrough isn't enabled by -Wall -Wextra in clang, which has bitten me.
* I got tired of `Foo foo = (foo)x`, so I'm using C23 and auto, sorry, not sorry.
* I spend a lot less time thinking about interface […]
* -Wimplicit-fallthrough isn't enabled by -Wall -Wextra in clang, which has bitten me.
* I got tired of `Foo foo = (foo)x`, so I'm using C23 and auto, sorry, not sorry.
* I spend a lot less time thinking about interface […]
It was pointed out to me that I was wrong about the potential for dangerous optimizations with contracts and ODR. It is in fact […]
It was pointed out to me that I was wrong about the potential for dangerous optimizations with contracts and ODR. It is in fact […]
https://www.think-cell.com/en/career/devblog/trip-report-winter-iso-cpp-meeting-in-hagenberg-austria
#cpp #cplusplus
https://www.think-cell.com/en/career/devblog/trip-report-winter-iso-cpp-meeting-in-hagenberg-austria
#cpp #cplusplus
https://cpponline.uk/keynote-spotlight-functional-programming-in-cpp/
#cpp #cplusplus
https://cpponline.uk/keynote-spotlight-functional-programming-in-cpp/
#cpp #cplusplus
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
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