Boost logo

Boost :

From: Russell Hind (rhind_at_[hidden])
Date: 2003-09-11 02:35:56


Robert Ramey wrote:
>>Jeff Flinn wrote
>
>
>><string.h> is included rather than <string>. Is this intended?
>
>
> This has been included to permit usage of certain functions
> such as strlen(char *t) which return the length of a normal
> C string. <string> includes definiation of std::string which
> is quite a different thing. Since the serialization library address
> all C types as well as STL types, Its necessary to include
> some C headers as well as the STL ones.
>

Shouldn't this be <cstring> then now, and then use std::strlen?

Thanks

Russell


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk