id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3893,Fix compilation with Sun CC (without stlport),Vadim Zeitlin ,Marshall Clow,"Apparently Sun CC with its (ancient) STL is not officially supported by Boost but I hope you can consider this patch which at least allows me to use boost/array.hpp (and, more importantly, many other headers which use it) in my code which can't be compiled with STLport. The patch is basically trivial and simply adds a workaround similar to the existing one for MSVC just above for Sun CC: {{{ #!diff --- a/boost/array.hpp 2010-02-03 13:10:56.000000000 +0100 +++ b/boost/array.hpp 2010-02-02 22:14:15.000000000 +0100 @@ -78,6 +70,13 @@ reference, iterator, reference> > reverse_iterator; typedef std::reverse_iterator > const_reverse_iterator; +#elif defined(__SUNPRO_CC) && !defined(_STLPORT_VERSION) + typedef std::reverse_iterator reverse_iterator; + typedef std::reverse_iterator const_reverse_iterator; #else // workaround for broken reverse_iterator implementations typedef std::reverse_iterator reverse_iterator; }}} TIA! P.S. The window is apparently too narrow to show the patch without mangling it, hopefully you can still read (and apply it) however using the attached file.",Patches,closed,Boost 1.43.0,array,Boost 1.42.0,Problem,fixed,suncc,