Boost logo

Boost :

From: Dave Abrahams (abrahams_at_[hidden])
Date: 2000-06-14 18:04:43


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk