3 ms·
In C++ unary prefix & is used in an expression to take the address of an object. To declare a parameter of reference type the & would be between the type name a
by somebodynew 7y ago
In C++ unary prefix & is used in an expression to take the address of an object. To declare a parameter of reference type the & would be between the type name and the parameter name (i.e. after PanicInfo/before _info).
- steveklabnik 7y agoGuh, yes, thank you. (It's been a long, long time since I wrote significant amounts of C++.)