There is an old stackexchange post expressing confusion at why clang used to allowed you to use the & operator on xvalues--this was identified as a bug in the discussion and is no longer in the compiler
I have found shells online which return prvalues in situations that should return xvalues, but I don't know what compilers they use
@aescling I haven't found significant ones
There is an old stackexchange post expressing confusion at why clang used to allowed you to use the & operator on xvalues--this was identified as a bug in the discussion and is no longer in the compiler
I have found shells online which return prvalues in situations that should return xvalues, but I don't know what compilers they use