Programming Languages, Cpp, Software Development, Coding, Optimization.
the situation will change: The rules are: rvalues (prvalues and xvalues) will bind to either const-references or rvalue references but prefer rvalue references modifiable lvalues will bind to either const-references or references but prefer references non-modifiable lvalues will bind to