[C++-sig] Creating an arbitrary sized boost string ?

John Janecek jjanecek at telusplanet.net
Fri Sep 5 08:19:52 CEST 2003


I can create a string using

str(char* data)
where data is a null terminated string

what about if data is not a null terminated string ?

like i need something like
str(unsigned char* data, datalen)

how can i do this ?

Thanx, it is probably in the docs but i can not find it :(
so please do not flame me too bad :)







More information about the Cplusplus-sig mailing list