2 ms·
Isn't the real bug in the example where the bool was assigned to the pointer that a pointer was used where it should have been a reference?
by roel_v 15y ago
Isn't the real bug in the example where the bool was assigned to the pointer that a pointer was used where it should have been a reference?
- Hemospectrum 15y agoGoogle's C++ style guide discourages the use of references altogether.