glibmm r432 - in trunk: . glib/glibmm



Author: daniel
Date: 2007-08-12 03:37:37 +0100 (Sun, 12 Aug 2007)
New Revision: 432
ViewCVS link: http://svn.gnome.org/viewcvs/glibmm?rev=432&view=rev

Modified:
   trunk/ChangeLog
   trunk/glib/glibmm/ustring.cc
   trunk/glib/glibmm/ustring.h
Log:
* glib/glibmm/ustring.{cc,h}: Add preliminary implementation of
a message compose and format API (bug #399216).  The API design
is not final and still open for discussion.
(ustring::compose): New set of static methods for composing
internationalized text messages by substituting placeholders
in a template string.
(ustring::format): New set of static methods for locale-dependent
formatting of numbers and other streamable objects to strings.
(ustring::compose_argv): New static method which implements the
common functionality of the compose() overloads.
(ustring::FormatStream): New helper class which implements the
type-independent functionality of the format() templates.
(operator>>): New operator overload for std::wistream.
(operator<<): New operator overload for std::wostream.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]