|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-09-17 12:20:29
Eric Friedman wrote:
>
> FWIW, I had the same exact problem for variant with GCC. I had to
> workaround by defining my own detail::variant::void_ type and then a
> 'convert_void' template that would change detail::variant::void_ to
> mpl::void_. Not very pretty.
>
> If this is really how the language is supposed to behave, I think it
> should be changed.
The proper way to effect a change in this area is to:
* submit a detailed g++ bug report;
* post a comp.std.c++ message explaining why you think ADL should only find
functions, referencing CWG Issue 218:
http://std.dkuug.dk/jtc1/sc22/wg21/docs/cwg_active.html#218
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk