scopeguard
Scopeguard and parameters by reference
In this article in the Supporting Parameters by Reference section, they point out the probl开发者_运维技巧em with and provide the solution to references.My question is: why don\'t they just declare th[详细]
2023-03-04 20:50 分类:问答const reference for temporary lifetime lengthening
I have a question about some C++ standard compliance or lack of it. In my project I\'m using some simple Guard class that uses the const reference trick. I\'m using Visual Studio 2005 and there are t[详细]
2023-01-23 12:05 分类:问答