Join Nostr
2026-10-28 21:04:48 UTC
in reply to

JCM on Nostr: also don't use std::function :P (I use it a lot tho tbh) or to be more accurate: only ...

also don't use std::function :P (I use it a lot tho tbh)


or to be more accurate: only use std::function if you actually need the type erasure, for many cases (i.e. you don't need to store the function) a templated invocable is better I think