Namely:
[](auto const& foo) {
??? bar; // should be same base type as foo, minus const&
}
So far, I'm using:
typename std::remove_const<typename std::remove_reference<decltype(foo)>::type>::type combination
But I'm really hoping theres an easier alternative!