Angus Leeming <[EMAIL PROTECTED]> writes:

| On Wed, 18 Oct 2000, Jean-Marc Lasgouttes wrote:
| > >>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
| >
| > Angus> I admit it: this makes more sense. (Although I hasten to point
| > Angus> out that I did not break anything!)
| >
| > Angus> Will you change this or shall I? A
| >
| > I'd prefer to let you do it :)
| 
| Ok.
| 
| > Other things:
| >
| > * in StrPool: change the type of the variable 's' to string::size_type.
| 
| Ok.
| 
| 
| > * in lstring.C: why should countChar return size_t intead of
| >   string::size_type?
| 
| Err...
| 1. Because Lars' suggested it.

but I didn't check the actual implementation of countChar...

| 2. Because I got confused. I know it's not a C-style function.

we could just get rid of countChar completely, it is just a simple
wrapper around std::count anyway...unfortunately we cannot do that yet
since not all compilers have the right version of count...

        Lgb

Reply via email to