On Wed, Nov 27, 2002 at 01:37:28PM +0100, Lars Gullik Bjønnes wrote:
> Please tell what you find out.


Bold guess: Candidates are:

  std::string::insert(unsigned int, unsigned int, char)

and

  std::strings::insert(char *, unsigned int, char)

Arguments given are  (int, int, char).

Why adding the 'u' disambiguates is clear: In one case we have an exact
match for the first argument, in the other a "pointer conversion".

'int 0' does not suffice, as this is a "integral conversion" vs "pointer
conversion" which rank equal.

So why don't we see that in g++ 3.2?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

Reply via email to