Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.c++.moderated    |    Moderated discussion of C++ superhackery    |    33,346 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 31,475 of 33,346    |
|    =?ISO-8859-1?Q?Daniel_Kr=FCgler?= to All    |
|    Re: sqrt(a) with 'a' being an int    |
|    20 Sep 11 15:10:38    |
      53f27c45       From: daniel.kruegler@googlemail.com              Am 20.09.2011 15:42, schrieb ptyxs:       > Hi,       > in C++ sqrt is supposed to be an overloaded function taking either a       > double,a float or a long double argument.       > So I would guess that an int argument should give an error message at       > compile time.       > However, I observed that my gcc 4.6.1 (Mandriva Linux 2011) compiles       > and runs perfectly a program such as the following :       >       >       > #include |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca