boost libraries
"Kristian G. Kvilekval" <[email protected]>
| Newsgroups | gmane.comp.audio.zinf.devel |
|---|---|
| Message-ID | <1048718991.19738.29.camel@merrimack> |
Begin FYI:
http://www.boost.org/libs/libraries.htm
> The Boost web site provides free peer-reviewed portable C++ source
> libraries. The emphasis is on libraries which work well with the C++
> Standard Library. One goal is to establish "existing practice" and
> provide reference implementations so that the Boost libraries are
> suitable for eventual standardization. Some of the libraries have
> already been proposed for inclusion in the C++ Standards Committee's
> upcoming C++ Standard Library Technical Report.
For new work on zinf, I suggest we look at what has already been
written. There is some very interesting work available on
the web site listed above. They claim quite an impressive list of
build environments http://www.boost.org/tools/build/index.html
Some libraries to note immediately:
format
tokenizer
Other that may be useful for more extensive work:
thread
smart_ptr
filesystem
I have already indicated that I think the inclusion boost::format
would allow us to provide i18n facilities in zinf. The problem
stems from the base iostream syntax of
cerr << "message" << value << " more " << another;
in that it is incompatible with the standard gettext syntax
gettext("message %d more %s")
The format library resolves this problem with some interesting
extensions:
cerr << boost::format(_("message %1 more %2")) % value % another;
The nice part is that it interacts with gettext nicely for other
languages that need reordering:
For example in the zinf.pot we could have:
msgid "message %1 more %2"
msgstr "In piu %2 messagio %1"
End of FYI
--
email:[email protected] office:(805)893-4276 http://www.cs.ucsb.edu/~kris
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en