On Sat, Feb 21, 2009 at 7:34 PM, Geoff McLane <ubu...@geoffair.info> wrote: > > IMHO the _MSC_VER and _DEBUG switches do NOT need to be applied. I am > forever puzzled how gcc resolves this since the comparison is indeed two > pointers ...
No it isn't. Both uses in lower_bound and upper_bound take an iterator range and a const Type&. So it is a pointer and a reference. gcc is right. -- Csaba/Jester ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel