[Home] [By Thread] [By Date] [Recent Entries]

  • From: Paul Miller <stele@f...>
  • To: xml-dev <xml-dev@i...>
  • Date: Mon, 06 Dec 1999 11:06:20 -0500

> It's not.  See eg.
>         http://msdn.microsoft.com/visualc/stl/faq.htm#Q4

I believe this problem is due to Microsoft's basic_string being a
reference-counting implementation. I've seen problems with this myself.

> Complaints about this state of the Standard C++ library, are met with
> responses on the line of "MSVC++ is not a standard C++ compiler.  It's
> a Windows compiler".

> Quite amazing, really.

Indeed, but it *is* possible to write portable code with MSVC++. It just
depends on how much Microsoft stuff you drag into your build. One thing
you might try is SGI's implementation of the STL (which includes their
own version of std::string). I've been using this for years with much
success. Download it at http://www.sgi.com/Technology/STL. Alex Stepanov
works on it at SGI, so you know it's good.

> Yes.  That wasn't my problem.  My problem was that std::iostreams are
> incompatible with Standards<ToolKit> (a failing of Standards<ToolKit>,

I personally don't use MS's iostreams. They are about 6-10 times slower
than good ole' stdio, so I wrote my own basic IO streams classes that
simply wrap around a FILE *. Much better.

-Paul

--
Paul Miller - stele@f...

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member