472,126 Members | 1,585 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,126 software developers and data experts.

do you know good books/sites about creating custom allocators, streams and iterators?

for me, these items are in the 'tricky zone' of C++

does anyone know good material with that? (dealing with subtle
details, pitfalls, good practices...)

anything like the Effective series from Meyers would be fine ;)

thanks!

Diego
HP

Aug 27 '07 #1
11 2274
Diego Martins wrote:
for me, these items are in the 'tricky zone' of C++

does anyone know good material with that? (dealing with subtle
details, pitfalls, good practices...)
Have you perused "C++ Standard Library" by Josuttis? As for the
streams, there was a book by Angelika Langer and Klaus Kreft, I
heard good things about it. Dietmar Kuehl has also written on
the same or similar subject, IIRC.
anything like the Effective series from Meyers would be fine ;)
He's got some iterator tips in "Effective STL", check it out.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Aug 27 '07 #2
On 2007-08-27 19:21, Diego Martins wrote:
for me, these items are in the 'tricky zone' of C++

does anyone know good material with that? (dealing with subtle
details, pitfalls, good practices...)

anything like the Effective series from Meyers would be fine ;)
Don't know about custom allocators, since it's not something most C++
programmers have to write, but section 19.4 in TC++PL talks about it.

For streams and iterators any good book should do, iterators are central
to the standard library so a book that does not explain them would be
useless. Once again, TC++PL have chapters about those things.

--
Erik Wikström
Aug 27 '07 #3
On Aug 27, 2:29 pm, "Victor Bazarov" <v.Abaza...@comAcast.netwrote:
Diego Martins wrote:
for me, these items are in the 'tricky zone' of C++
does anyone know good material with that? (dealing with subtle
details, pitfalls, good practices...)

Have you perused "C++ Standard Library" by Josuttis?
yeah! I have this book. It is excellent as a STL containers and
algorithms reference guide

but it does not focus on custom streams, iterators and allocators :(
As for the
streams, there was a book by Angelika Langer and Klaus Kreft, I
heard good things about it. Dietmar Kuehl has also written on
the same or similar subject, IIRC.
nice! do you know the book names?
anything like the Effective series from Meyers would be fine ;)

He's got some iterator tips in "Effective STL", check it out.
I want more :(
(but the Effective series is a must have! I have only the Effective
STL in book, but I've read them all on my college library)

thanks, anyway
Diego

Aug 27 '07 #4
On Aug 27, 2:39 pm, Erik Wikström <Erik-wikst...@telia.comwrote:
On 2007-08-27 19:21, Diego Martins wrote:
for me, these items are in the 'tricky zone' of C++
does anyone know good material with that? (dealing with subtle
details, pitfalls, good practices...)
anything like the Effective series from Meyers would be fine ;)

Don't know about custom allocators, since it's not something most C++
programmers have to write, but section 19.4 in TC++PL talks about it.

For streams and iterators any good book should do, iterators are central
to the standard library so a book that does not explain them would be
useless. Once again, TC++PL have chapters about those things.
thanks! I will give a look on this book

user experience is appreciated in this thread too (the best knowlege
on my opinion)

Aug 27 '07 #5
Diego Martins wrote:
On Aug 27, 2:29 pm, "Victor Bazarov" <v.Abaza...@comAcast.netwrote:
>As for the
streams, there was a book by Angelika Langer and Klaus Kreft, I
heard good things about it. Dietmar Kuehl has also written on
the same or similar subject, IIRC.

nice! do you know the book names?
[..]
You're kidding, right? Can't you google?

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Aug 27 '07 #6
On Aug 27, 2:57 pm, "Victor Bazarov" <v.Abaza...@comAcast.netwrote:
Diego Martins wrote:
On Aug 27, 2:29 pm, "Victor Bazarov" <v.Abaza...@comAcast.netwrote:
As for the
streams, there was a book by Angelika Langer and Klaus Kreft, I
heard good things about it. Dietmar Kuehl has also written on
the same or similar subject, IIRC.
nice! do you know the book names?
[..]

You're kidding, right? Can't you google?
not kidding. serious! you might give me valuable information about the
edition you read, for example

there is more than a book written by Angelika Langer and Klaus Kreft
with IOstreams...

and I couldn't find a book of Dietman Kuehl. I will try to read some
thing from his page, instead
http://www.inf.uni-konstanz.de/~kuehl/

your advice is good and I guess you are a good man.
but the excess of coffee must be making you to see newbies everywhere
in comp.lang.c++ :) try to relax

Aug 27 '07 #7
Diego Martins wrote:
On Aug 27, 2:57 pm, "Victor Bazarov" <v.Abaza...@comAcast.netwrote:
>Diego Martins wrote:
>>On Aug 27, 2:29 pm, "Victor Bazarov" <v.Abaza...@comAcast.net>
wrote:
As for the
streams, there was a book by Angelika Langer and Klaus Kreft, I
heard good things about it. Dietmar Kuehl has also written on
the same or similar subject, IIRC.
>>nice! do you know the book names?
[..]

You're kidding, right? Can't you google?

not kidding. serious! you might give me valuable information about the
edition you read, for example
I didn't read it. I had no need for it. However, other folks have
recommended it, and at the time of my reply the book review section of
ACCU.org was unavailable. Did you simply miss my "I heard good things
about it"?

I'd given you as much information as I could.
there is more than a book written by Angelika Langer and Klaus Kreft
with IOstreams...
Hey, you already know more than I do. Try comparing the books using
review section on Amazon, see whether you can find the preface for them
and read them, perhaps you can get something from there...
and I couldn't find a book of Dietman Kuehl. I will try to read some
thing from his page, instead
http://www.inf.uni-konstanz.de/~kuehl/
Then apparently I didn't RC. Now that I'm thinking about it, he did
write a streams library, or so it seems... Not a book... If you've
found his web page, you've found the right place to find out more.
your advice is good and I guess you are a good man.
but the excess of coffee must be making you to see newbies everywhere
in comp.lang.c++ :) try to relax
Ah, that's what it was, my coffee drinking. I couldn't have figured
it out without you. Thanks, I will try to relax. As soon as I retire,
I guess. In the mean time, "if it walks like a newbie and quacks like
a newbie..."

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Aug 27 '07 #8
On Aug 27, 4:46 pm, "Victor Bazarov" <v.Abaza...@comAcast.netwrote:
Ah, that's what it was, my coffee drinking. I couldn't have figured
it out without you. Thanks, I will try to relax. As soon as I retire,
I guess. In the mean time, "if it walks like a newbie and quacks like
a newbie..."
duck typing is off-topic in C++ :P
(and I hate smalltalk and Ruby)

Aug 28 '07 #9
anyone? :(

I am bugging since it is extremely difficult finding good material
about these tricky topics!
Specially the allocator thing!

Aug 28 '07 #10
FYI

http://angelikalanger.com/Articles/Topics.html
a good collection of articles focused on specific STL subjects

I found that following Victor's advice
this is very similar to what I am looking for.

thanks A LOT :)))) and let's continue searching

Diego

Aug 28 '07 #11

"Diego Martins" <jo********@gmail.comwrote in message
news:11*********************@g4g2000hsf.googlegrou ps.com...
for me, these items are in the 'tricky zone' of C++

does anyone know good material with that? (dealing with subtle
details, pitfalls, good practices...)

anything like the Effective series from Meyers would be fine ;)
See www.boost.org for both libraries, docs and refs. All of your items in
the subjet line are covered.

Jeff Flinn
Aug 29 '07 #12

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

18 posts views Thread by Mark A. Gibbs | last post: by
15 posts views Thread by Alex Vinokur | last post: by
15 posts views Thread by natespamacct | last post: by
2 posts views Thread by Peter Rilling | last post: by
6 posts views Thread by Christoph | last post: by
8 posts views Thread by Mateusz Åoskot | last post: by
7 posts views Thread by Max Odendahl | last post: by
6 posts views Thread by Juha Nieminen | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.