----- Original Message ----- From: "Andrew Koenig" <ark@research.att.com> > David> void f(int const&); > David> f(false); // error! > > For the sake of nitpicking correctness, I cannot help but point out > that there is nothing wrong with the call of f(false) above unless you > drop the "const" from f's parameter type. Yeah, I realized that after posting it, and hoped nobody would notice. void f(int const*); bool x = false; f(&x); // error! thanks-for-nothing-ly y'rs, dave
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4