Item 20:Facilitate the return value optimization.(More Effective C++)
The rules for C allow compilers to optimize temporary objects out of existence. As a result, if you call operator* in a
7月前290
The rules for C allow compilers to optimize temporary objects out of existence. As a result, if you call operator* in a