Charles Mills wrote:
The reason I am asking ... suppose FOO is a function implemented in
assembler, not in C++. The declaration of the default parameter and the
invocation with the parameter omitted will still work, right?
Apparently so. Of course, fairly easy to test!

http://dewkumar.blogspot.com/2012/01/how-is-default-function-argument-to.html
http://stackoverflow.com/questions/3170111/c-default-argument-value

--
Jack J. Woehr     # Science is more than a body of knowledge. It's a way of
www.well.com/~jax # thinking, a way of skeptically interrogating the universe
www.softwoehr.com # with a fine understanding of human fallibility. - Carl Sagan

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to