[C++-sig] Wrapping a class with private operator&()

David Abrahams dave at boost-consulting.com
Fri Oct 14 17:03:24 CEST 2005


Rene Rivera <grafik.list at redshift-software.com> writes:

> David Abrahams wrote:
>> David Abrahams <dave at boost-consulting.com> writes:
>> 
>>>>Here is a minimal example that shows the problem:
>>>
>>>In the enclosed patch, I replaced enough uses of "&" with addressof to
>>>make your example compile, but I'm almost certain there will be other
>>>such instances.  If you try it and it works for you, I'll check it in.
>> 
>> Done.
>
> That seems to have caused some problem on CodeWarrior compilers using MSL...
>
> http://engineering.meta-comm.com/boost-regression/CVS-RC_1_33_0/developer/output/sslapeta-bin-boost-libs-python-test-pointer_vector-test-cw-9_4-debug-threading-multi_release.html

Great; ADL bites again :(

I'll fix it.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com




More information about the Cplusplus-sig mailing list