Why do I have to surround parentheses in this fold expression?[code] template<typename... Args> void printVariadic(Args... args) { (... , (std::cout << args << '...
It is known that we can't initialize rvalue reference with lvalue, but why can function name?Let me confirm your answer first. The link you gave me is "No, because rvalue references can be init...
It is known that we can't initialize rvalue reference with lvalue, but why can function name?@mbozzi: I disagree. Your link does nothing but repeat my code and say "look, it works". I don't thi...
It is known that we can't initialize rvalue reference with lvalue, but why can function name?It is said that we can't initialize an rvalue reference with an lvalue. For example: [code]int i=0; ...
Why is const gone in the return type?@Peter87: Thank you for referring me to the relevant Standard. I think this is because reference has...
This user does not accept Private Messages