|
Boost : |
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2006-01-19 16:38:22
Hi all,
The review of the proposed Boost Fixed Strings library written by Reece Dunn
starts today (January 19th, 2006) and ends January 28th, 2006.
You can download the library here: http://tinyurl.com/czrh9
---------------------------------------------------
About the library:
The fixed_strings library is a buffer-overrun safe version of using
fixed-size character array data buffers. It provides integration with the C
API allowing strcpy, et. al. to be used safely for a fixed string and
provides a basic_string interface allowing easy migration to C++ strings.
There is also a formatter function object allowing (w)sprintf to be used in
a single line!
Example:
boost::fixed_string< 5 > hi;
strcpy( hi, "Hello World" );
hi.push_back( '!' );
std::cout << hi << std::endl;
std::cout << boost::formatter( "Meine %s Welt!", "kleine" ) << std::endl;
output:
Hello
Meine kleine Welt!
---------------------------------------------------
Please always state in your review, whether you think the library should be
accepted as a Boost library!
Additionally please consider giving feedback on the following general
topics:
- What is your evaluation of the design?
- What is your evaluation of the implementation?
- What is your evaluation of the documentation?
- What is your evaluation of the potential usefulness of the library?
- Did you try to use the library? With what compiler? Did you have any
problems?
- How much effort did you put into your evaluation? A glance? A quick
reading? In-depth study?
- Are you knowledgeable about the problem domain?
Regards Hartmut
Review Manager
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk