We do that in e.g. `ranges::contains` where we pass a `reference_wrapper` to the projection to `ranges::find`. Does that turn off optimizations?