c++.beta - ellipsis conversion
- Christof Meerwald (17/17) Jun 14 2003 void f(const double *)
void f(const double *) { } void f(...) { } int main() { f(static_cast<const int *>(0)); // Error: need explicit cast for function parameter 1 to get // from: int const * // to : double const * } Extracted from Boost's optional tests. bye, Christof -- http://cmeerw.org JID: cmeerw jabber.at mailto cmeerw at web.de ...and what have you contributed to the Net?
Jun 14 2003