mattkretz / wg21-papers

my papers to WG21 — the C++ committee
5 stars 7 forks source link

why `const const_where_expression&` instead of `const_where_expression&&`? #66

Open mattkretz opened 6 years ago

mattkretz commented 6 years ago

Functions that take a const_where_expression argument should take it as rvalue reference, no? Otherwise, it seems we're endorsing the use of where_expression lvalues.