Andreas Fertig

I will be speaking at Meeting C++ 2025! The talk's title is "Embedded-Friendly C++: Features That Make a Difference". Come and join me there!

#cpp #cpp20 #cplusplus

Gareth Lloyd (He/him)

I spent all day digging into code to discover and fix this issue.

auto make_func(int v) {
auto f1 = [&] { return v; }; // OK
auto f2 = [=] { return f1(); }; // OK
return f2; // DANGER (has reference to local `v`)
}

int main() {
auto f = make_func(42);
return f();
}

I'm glad I found it, but is there any tooling that would save future me from spending so much time?

#programming #cpp #cplusplus

Jul 23, 2025, 15:57 · · · 0 · 0
Giuseppe Bilotta

I would rather NOT rewrite our .zip archive code to do the «unpack in separate directory and then remove» thing. So does anybody know of a different C++ library to access zip archive contents directly that DOES support #Zip64?

#askFedi #fediHelp #CPlusPlus #askMastodon #mastoHelp

Shafik Yaghmour

#296 Given the following in C++

void f(){
// Assuming LP 64
auto a = 42, b = 3000000000; // Well-formed?
}

Without checking is this valid?

A. Yes
B. No
C. Show me the results

#Cplusplus
#Cpppolls