Topic: Adaptation page for SGI STL updated [new : debug mode available]
Author: fbp@spirit.mcst.ru (Boris Fomitchev)
Date: 1997/05/28 Raw View
Adapted SGI STL implementation ( for gcc, SUN CC, Borland,
Microsoft, IBM xlC, DEC CXX, ... compilers ) updated at:
http://www.ipmce.su/~fbp/stl/
(* URL note : please use "~fbp/stl/" instead of "people/fbp/stl/".
"people" is being maintained, but it may disappear some day. *)
What's new:
* Debug mode provided. It includes "safe" iterators and
checking of preconditions. Turn it on via __STL_DEBUG macro.
New file stldebug.h added for common debug components.
* Watcom C++ 11 portability provided with auto-recognition
(Josh Levenberg <jlevenbe@math.berkeley.edu>)
* Visual C++ 5.0 portability fixed [new-style headers still
have problems] (Sean Donnelly <seando@microsoft.com>,
Eric Bloodworth <eric@rrinc.com>)
* alloc.h : fixed SGI deficiency of __STL_WIN32THREADS for
multiple compilation units. VC++ users may want to define _NOTHREADS
explicitly to prevent windows.h inclusion in case _MT defined.
* alloc.h : primitives and adaptors fixed so that adaptors
can properly handle any CD2-conformant custom
allocators.
* defalloc.h : allocator<T> made CD2-conformant(as possible).
Now it may be used standalone as well as container
template parameter. It uses default alloc.
* __default_initialize algorithms introduced.
used by vector.h & algo.h
* algobase.h : iter_swap modified to use swap() as CD2 requires.
* added a set of <xmemory>, <xalgo>, etc. new-style headers
for VC5.0 portability. Problems remain when using new-style headers.
* alloc.h : miscellanous alloc classes member functions
renamed : xxx -> __xxx to allow allocator<T> usage.
"xxx_template" classes renamed -> "xxx" to reduce unnecessary long
symbols.
debug_alloc adaptor used by default alloc when __STL_DEBUG set.
* alloc.h : fixed __STL_SGI_THREADS case for SGI C++
(Egor Elagin <elagin@selforg.usc.edu>)
* functionx.h renamed to xfunction.h to avoid
clobbering on 8.3 platforms.
* Fixed config/stlcomp.h.* configuration #undefs.
* "Collection page" updated. Slist.h updated,
much more components provided.
* Testsuite bugs fixed.
* Documentation updated. Added README for VC++.
Bug reports and suggestions are welcome.
If the library works for compiler not listed at the page,
please report that.
Best regards,
--
-Boris * [fbp@mcst.ru] * Opinions expressed here are mine alone.
---
[ comp.std.c++ is moderated. To submit articles: try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
[ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu ]