|
Boost : |
From: Maxim Yegorushkin (e-maxim_at_[hidden])
Date: 2004-04-19 14:34:08
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk