Boost logo

Boost :

From: Howard Hinnant (hinnant_at_[hidden])
Date: 2006-06-14 15:49:17

On Jun 14, 2006, at 3:20 PM, Ion Gaztañaga wrote:

>> This means that g++ doesn't do ADL for static_pointer_cast<int>.
>> There's an
>> issue about it by Gabriel Dos Reis:
>> but it's still open and contains no further notes, so it isn't
>> clear whether
>> g++ is right or not.
> Too late... I've already posted in c.s.c++ ;-) Not being an expert, I
> think that gcc approach is quite limiting. If gcc's approach is
> considered correct, I think that we would need to invent a
> mechanism to
> make pointer casts compatible with ADL.

Fwiw, my money is on gcc. It agrees with both CodeWarrior and EDG.
But I'm anxiously awaiting confirmation on c.s.c++ too. :-)


Boost list run by bdawes at, gregod at, cpdaniel at, john at