On 12/28/21 2:06 PM, Steven Schveighoffer wrote:

   void print_num(int mul)(int num) {

Wasn't there a way of telling whether an 'auto ref' parameter is copied or not?

void print_num()(int num, auto ref int mul) {
  // ?
}

And that would indicate  that the argument was an rvalue?

I realize that rvalues are not exactly what the OP is interested in.

Ali

Reply via email to