glibmm r437 - in trunk: . examples/compose glib/glibmm
- From: daniel svn gnome org
- To: svn-commits-list gnome org
- Subject: glibmm r437 - in trunk: . examples/compose glib/glibmm
- Date: Wed, 15 Aug 2007 02:29:12 +0100 (BST)
Author: daniel
Date: 2007-08-15 02:29:12 +0100 (Wed, 15 Aug 2007)
New Revision: 437
ViewCVS link: http://svn.gnome.org/viewcvs/glibmm?rev=437&view=rev
Modified:
trunk/ChangeLog
trunk/examples/compose/main.cc
trunk/glib/glibmm/ustring.cc
trunk/glib/glibmm/ustring.h
Log:
* glib/glibmm/ustring.{cc,h} (ustring::compose_argv): Rename
"format" argument to "fmt" to avoid name clashes with the method
of the same name.
(ustring::compose): Make the type of each substitution parameter
a template argument, and invoke ustring::format() implicitly for
non-string arguments. Explicit invocation of ustring::format() is
still necessary in order to apply I/O manipulators to an argument.
(ustring::Stringify): New auxiliary template class used in the
implementation of ustring::compose().
* examples/compose/main.cc (show_examples): Omit explicit calls
to ustring::format() where possible.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]