Use one namespace (fmt) instead of two (format and fmt).

This commit is contained in:
Victor Zverovich
2013-01-21 11:42:25 -08:00
parent 1b3ac76019
commit a1dccea9ba
3 changed files with 21 additions and 24 deletions

View File

@@ -54,9 +54,9 @@ copyright = u'1990-2012, Python Software Foundation'
# built documents.
#
# The short X.Y version.
version = '0.4'
version = '0.5'
# The full version, including alpha/beta/rc tags.
release = '0.4'
release = '0.5'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

View File

@@ -5,30 +5,30 @@
String Formatting API
---------------------
.. doxygenfunction:: format::Format(StringRef)
.. doxygenfunction:: fmt::Format(StringRef)
.. doxygenclass:: format::Formatter
.. doxygenclass:: fmt::Formatter
:members:
.. doxygenclass:: format::TempFormatter
.. doxygenclass:: fmt::TempFormatter
:members:
.. doxygenclass:: format::NoAction
.. doxygenclass:: fmt::NoAction
:members:
.. doxygenclass:: format::StringRef
.. doxygenclass:: fmt::StringRef
:members:
.. doxygenfunction:: format::str
.. doxygenfunction:: fmt::str
.. doxygenfunction:: format::c_str
.. doxygenfunction:: fmt::c_str
.. _formatstrings:
Format String Syntax
--------------------
The :cpp:func:`format::Format()` function and the :cpp:class:`format::Formatter`
The :cpp:func:`fmt::Format()` function and the :cpp:class:`fmt::Formatter`
class share the same syntax for format strings.
Format strings contain "replacement fields" surrounded by curly braces ``{}``.