News for hackers. Stuff that matters.
Re:Const all the things? by gpderetta on Monday January 24, 2022 @09:26AM (#30057932)
You can create a trivial wrapper:

   https://godbolt.org/z/c5YeP6feG
The usual issue with these sort of things is that they are not idiomatic (but then again, there is no single idiomatic C++).

edit: std::reference_wrapper is of course the standard blessed way to do this, but still not idiomatic.

There are no comments on this comment yet.