Hacker News new | ask | show | jobs
by roel_v 5509 days 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?
1 comments

Google's C++ style guide discourages the use of references altogether.