www.digitalmars.com         C & C++   DMDScript  

c++.stlsoft - Welcome stlsoft

reply "Jim Jennings" <jwjenn mindspring.com> writes:
So, I can switch to stlsoft from stlport?
Apr 09 2003
parent reply "Matthew Wilson" <dmd synesis.com.au> writes:
No.

STLSoft is not a replacement for the standard library. It is an extension of
the concepts of STL into different technology areas, currently including
ATL, COM, MFC, UNIX and Win32. (There are others, but they're not mature.)
It does, as well, have stuff that's general, such as frame-string, fixed-2 &
3 d arrays, string-tokeniser, etc. etc., but it's fair to say that the main
thrust is to apply STL to other things.

A couple of good examples are WinSTL's findfile_sequence, and COMSTL's
simple_enum_sequence. The first wraps the Win32 FindFile api into an
STL-like sequence that provides Input Iterators (also does Forward ones, but
they're less efficient). The second is a policy-based gizmo for wrapping
arbitrary COM enumerators into STL-like sequences providing Input or Forward
(policy-based) Iterators.

There's also one last part that's salient to this. As you may know, the
implementation behind the standard libraries provided by many of the
compiler vendors are quite different. In particular, VC 5, 6, and 7 all do
nasty things. STLSoft provides a set of classes - in stlsoft_iterator.h -
such as iterator_base, const_reverse_bidirectional_iterator_base,
pointer_iterator that handles all that evil filth (check out that file, if
you don't know just how evil!) for you, so you can write your sequences
confident that you'll compile with Borland, DMC++, Intel, GCC, MSVC,
Metrowerks, etc. etc.




"Jim Jennings" <jwjenn mindspring.com> wrote in message
news:b72djo$1jgm$1 digitaldaemon.com...
 So, I can switch to stlsoft from stlport?
Apr 09 2003
parent reply "Jim Jennings" <jwjenn mindspring.com> writes:
"Matthew Wilson" <dmd synesis.com.au> wrote in message
news:b72fg7$1kl8$1 digitaldaemon.com...
 No.
With your comments in mind I will look it over. (I did download it a couple of days ago.)
Apr 09 2003
parent reply "Rajiv Bhagwat" <dataflow vsnl.com> writes:
Well, the chm documentation is kinda dry. Your PDF articles about shims etc
are nice, but a section with some sample code (where these concepts could be
applied [thru stlsoft, of course]) would be really helpful.
- Rajiv



"Jim Jennings" <jwjenn mindspring.com> wrote in message
news:b72n44$1p5e$1 digitaldaemon.com...
 "Matthew Wilson" <dmd synesis.com.au> wrote in message
 news:b72fg7$1kl8$1 digitaldaemon.com...
 No.
With your comments in mind I will look it over. (I did download it a
couple
 of days ago.)
Apr 10 2003
parent "Matthew Wilson" <dmd synesis.com.au> writes:
Plead guilty on the HTML help. I claim the mitigation of it being a marathon
effort, and I intend to give each separate component a test program

As for the Shims stuff, I can't really give a full explanation in the PDFs,
as its in an article that CUJ are intending to print in their August issue.
That does not, of course, stop me giving test programs, and I certainly plan
to do so over the coming weeks.

Thanks for taking the trouble to go through it.

Matthew


"Rajiv Bhagwat" <dataflow vsnl.com> wrote in message
news:b75nms$mi1$1 digitaldaemon.com...
 Well, the chm documentation is kinda dry. Your PDF articles about shims
etc
 are nice, but a section with some sample code (where these concepts could
be
 applied [thru stlsoft, of course]) would be really helpful.
 - Rajiv



 "Jim Jennings" <jwjenn mindspring.com> wrote in message
 news:b72n44$1p5e$1 digitaldaemon.com...
 "Matthew Wilson" <dmd synesis.com.au> wrote in message
 news:b72fg7$1kl8$1 digitaldaemon.com...
 No.
With your comments in mind I will look it over. (I did download it a
couple
 of days ago.)
Apr 11 2003