Jean-Marc Lasgouttes wrote:
Abdelrazak Younes <[EMAIL PROTECTED]> writes:
Well, not really as you can always specify the one you desire to use
(egg. support::abort()). This was mostly the case previously anyway,
the difference is that it is now mandatory to clearly specify which
version you want. But it is of course a much saner approach anyway to
avoid creating methods with the exact same signature (name +
argument). If the arguments differs you can use the same name as in
std safely.
The difference is that before it would _never_ happen behind one's
back, since we had to import from std:: explicitly.
No, the compiler will (or should) tell you if it can't choose between
multiple versions.
And the suggestion of not using the same signatures as in STL function
looks a bit like a joke. Shall I keep a printout of the standard handy
just in case I want to create a new function and have to check its
name?
Again, no, the compiler will tell you.
Abdel.