C++ oddities: Self initialization
Posted by: nico on
Aug 18th, 2009 |
Filed under: C++, Programming
I get it, C++ is a complex language, but man, I’d like a little warning (lol) when this happens:
|
![]() |
Yeah, it bit me in the ass the other day. Why? A method’s signature was awfully long, I wanted to delete a parameter and ended up deleting two. Luckly my unit tests where there to save the day, but regardless, WTF?




Add A Comment