mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 03:17:53 +00:00
Update links
This commit is contained in:
parent
8cab5909e0
commit
4865950649
10
README.rst
10
README.rst
@ -20,7 +20,7 @@ Features
|
||||
* Write API similar to the one used by IOStreams but much faster and more
|
||||
consistent.
|
||||
* Format API with `format string syntax
|
||||
<http://cppformat.github.io/doc/latest#format-string-syntax>`__
|
||||
<http://cppformat.readthedocs.org/en/latest/#format-string-syntax>`__
|
||||
similar to the one used by `str.format
|
||||
<http://docs.python.org/2/library/stdtypes.html#str.format>`__ in Python.
|
||||
* Support for user-defined types.
|
||||
@ -45,7 +45,7 @@ Features
|
||||
(-Wall -Wextra -pedantic).
|
||||
* Support for wide strings.
|
||||
|
||||
See the `documentation <http://cppformat.github.io/doc/latest>`__ for more details.
|
||||
See the `documentation <http://cppformat.readthedocs.org/en/latest/>`__ for more details.
|
||||
|
||||
Examples
|
||||
--------
|
||||
@ -92,10 +92,10 @@ An object of any user-defined type for which there is an overloaded
|
||||
// s == "The date is 2012-12-9"
|
||||
|
||||
You can use the `FMT_VARIADIC
|
||||
<http://cppformat.github.io/doc/latest/#project0format_8h_1a65215c7dfcc0e942cd0798860877e86b>`__
|
||||
<http://cppformat.readthedocs.org/en/latest/#project0format_8h_1a65215c7dfcc0e942cd0798860877e86b>`__
|
||||
macro to create your own functions similar to `format
|
||||
<http://cppformat.github.io/doc/latest#fmt::format__StringRef.ArgListCR>`__ and
|
||||
`print <http://cppformat.github.io/doc/latest#fmt::print__StringRef.ArgListCR>`__
|
||||
`print <http://cppformat.readthedocs.org/en/latest#fmt::print__StringRef.ArgListCR>`__
|
||||
which take arbitrary arguments:
|
||||
|
||||
.. code-block:: c++
|
||||
@ -374,7 +374,7 @@ Documentation License
|
||||
---------------------
|
||||
|
||||
The `Format String Syntax
|
||||
<http://cppformat.github.io/doc/latest#format-string-syntax>`__
|
||||
<http://cppformat.readthedocs.org/en/latest/#format-string-syntax>`__
|
||||
section in the documentation is based on the one from Python `string module
|
||||
documentation <http://docs.python.org/3/library/string.html#module-string>`__
|
||||
adapted for the current library. For this reason the documentation is
|
||||
|
Loading…
Reference in New Issue
Block a user