Boost logo

Boost :

From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2006-06-14 15:20:12


> This means that g++ doesn't do ADL for static_pointer_cast<int>. There's an
> issue about it by Gabriel Dos Reis:
>
> http://www.open-std.org/JTC1/SC22/WG21/docs/cwg_active.html#485
>
> 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.

Thanks for the help,

Ion


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