Re: pseudo-specs for a String class

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Sun, 31 Aug 2008 23:21:14 +0200

On sön, 2008-08-31 at 14:07 +0200, Kinkie wrote:

> Now I'm a bit at a loss as to how to best integrate with iostream.

For what?

We need to be able to dump the contents in debugs which is easily
implemented as an << operator using the already defined interface. What
other uses of iostream do we have in relation to KBuf?

also missing a length query method it seems..

Another minor note: To follow normal coding conventions size_t shold be
used for buffer sizes, not hardcoded type sizes (u_int32_t)..

Regards
Henrik

Received on Sun Aug 31 2008 - 21:21:20 MDT

This archive was generated by hypermail 2.2.0 : Mon Sep 01 2008 - 12:00:06 MDT