Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2000-11-17 07:53:11


>int[2] and int* are equivalent in function declarations from
>an overloading perspective, so an int* argument can be used to
>initialize an int[2] function parameter.

That seems to be correct, I had asumed that trying to pass an int[3] to a
function that is declared to take int[4] would be an error, but it appears
not.

- John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk