[Dev] STL for_each underwhelms me

Tanner Lovelace dev@trilug.org
11 Feb 2002 22:14:22 -0500


--=-R0+CIJuVusUYPPzs8Ghi
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2002-02-11 at 20:36, Brent Verner wrote:
> [2002-02-11 19:42] M. Mueller (bhu5nji) said:
> |=20
> | I'm going to take another look at the Josutti book.  i got the examples=
=20
> | package from the web. =20
>=20
> Beware that the Josuttis book contains some examples (especially
> WRT iostreams, IIRC) that will not work with g++-3 and libstdc++-v3
>=20

Really?  Can you tell me which ones?  I'd be interested in
knowing which ones and why.

> Also beware of examples in Stroustrup's book as well.
>=20
> AFAIK, the only (correct) publication regarding the newest c++
> standard is that standard itself (ISO/IEC 14882:1998)

Well, that's not too surprising.  Until hte standard was
ratified, it was moving pretty fast.
=20
> | I am finding the Musser book is probably better read front to back.  I =
do not=20
> | often read a book in that fashion.
>=20
> If you haven't yet got Austern's "Generic Programming and the STL",
> I highly recommend it for a wonderful look into the concepts behind
> the design of the STL.
>=20
I have the Austern book and Matt does know what he's talking
about, but I find it very difficult to read.  I'm much
happier with the Josuttis book.  Just my personal opinion.

Tanner
--=20
Tanner Lovelace | lovelace@wayfarer.org | http://wtl.wayfarer.org/
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
GPG Fingerprint =3D A66C 8660 924F 5F8C 71DA  BDD0 CE09 4F8E DE76 39D4
GPG Key can be found at http://wtl.wayfarer.org/lovelace.gpg.asc
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
 Those who are willing to sacrifice essential liberties for a little=20
 order, will lose both and deserve neither.  --  Benjamin Franklin=20

 History teaches that grave threats to liberty often come in times
 of urgency, when constitutional rights seem too extravagant to=20
 endure.  --  Justice Thurgood Marshall, 1989=20

--=-R0+CIJuVusUYPPzs8Ghi
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA8aIiOzglPjt52OdQRAtXKAJ4hkZV31B18bfd7AnkWQbVYC4HjUgCdE9yT
Mtv53EPNfy/T4oYzq66mFxA=
=D5Hu
-----END PGP SIGNATURE-----

--=-R0+CIJuVusUYPPzs8Ghi--