
19 Apr
2004
19 Apr
'04
7:34 p.m.
Reece Dunn wrote:
There is currently a static-sized array in the Boost library that allows you to operate on arrays of fixed size. I was wondering if something similar exists for strings, in particular, providing buffer-overflow safe string operations.
I have an nstring< std::size_t n > string class that provides size-safe copying and comparison, allowing for you to do things like:
[]
I also have a formatter class that provides buffer-safe printf-like operations on the constructor and as a functor, e.g.:
[] Could you provide a link to the sources? -- Maxim Yegorushkin