|
Boost : |
From: jsiek_at_[hidden]
Date: 2000-06-14 18:28:04
This is part of what I was complaining about earlier... my guess is
that someone was trying to avoid the std::iterator problem on g++ by
just removing the helpers instead of doing a workaround.
Dave Abrahams writes:
> The iterator helper definitions look like this. Am I completely nuts
> and/or is this completely wacked? It looks like it is saying we only
> define iterator helpers if your compiler is GCC >= 2.96 or your
> library is SGI STL. What exactly is the intention here, and how
> do we fulfill it?
>
> -Dave
>
> // Iterator helper classes (contributed by Jeremy Siek ) ------------
> --------//
>
> #if __GNUC__ > 2 || __GNUC__ == 2 && __GNUC_MINOR__ > 95 || defined
> (__SGI_STL)
> ...
> struct forward_iterator_helper
> ...
> struct bidirectional_iterator_helper
> ...
> #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
> ...
> struct random_access_iterator_helper
> ...
> #else
> ...
> struct random_access_iterator_helper
> ...
> #endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
> #endif // Disabled when working with broken default GCC library
>
>
>
>
> ------------------------------------------------------------------------
> Win a trip to Vegas for you and 20 friends, $15,000 and a suite at
> Bellagio for New Year's, courtesy of Expedia.com. Or win 2 roundtrip
> tickets anywhere in the U.S. given away daily. Click for a chance to win.
> http://click.egroups.com/1/5293/3/_/9351/_/961023859/
> ------------------------------------------------------------------------
>
>
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk