IRC channel logs

2022-04-10.log

back to list of logs

<chrislck>what's the closest thing to a named let in cpp?
<daviid>chrislck: a simple for loop?
<chrislck>:)
<stis>Hello guilers!
<lilyp>chrislck: lambda captures :P
<lilyp>specifically: { LambdaType func; func = [&func](...) { do stuff with func }; } – though you might have to wrap LambdaType in a struct or something weird like that
***spk121_ is now known as spk121