
14 Jun
2006
14 Jun
'06
4:54 p.m.
Ion GaztaƱaga wrote:
This compiles fine with with VC 7.1. g++ fails with: "no matching function for call to 'static_pointer_cast(dummy::smart_ ptr<int>)'"
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.