Hacker News new | ask | show | jobs
by lenkite 709 days ago
That link says nothing about std::reference_wrapper ?
1 comments

I’m just saying, nothing up my sleeve, no arcane templatelord bullshit, this is isocpp: don’t use references in your structs because it’s subtly broken. It doesn’t mention reference wrappers but that’s the escape hatch.