mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
Update names and links.
This commit is contained in:
parent
f4c31ccd59
commit
da2a35de79
14
README.rst
14
README.rst
@ -1,10 +1,10 @@
|
|||||||
format
|
C++ Format
|
||||||
======
|
==========
|
||||||
|
|
||||||
.. image:: https://travis-ci.org/cppformat/format.png?branch=master
|
.. image:: https://travis-ci.org/cppformat/cppformat.png?branch=master
|
||||||
:target: https://travis-ci.org/cppformat/format
|
:target: https://travis-ci.org/cppformat/cppformat
|
||||||
|
|
||||||
Format is an open-source formatting library for C++.
|
C++ Format is an open-source formatting library for C++.
|
||||||
It can be used as a type-safe alternative to printf or as a fast
|
It can be used as a type-safe alternative to printf or as a fast
|
||||||
alternative to IOStreams.
|
alternative to IOStreams.
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ Features
|
|||||||
(-Wall -Wextra -pedantic).
|
(-Wall -Wextra -pedantic).
|
||||||
* Support for wide strings.
|
* Support for wide strings.
|
||||||
|
|
||||||
See the `documentation <http://cppformat.github.io/format/>`__ for more details.
|
See the `documentation <http://cppformat.github.io/cppformat/>`__ for more details.
|
||||||
|
|
||||||
Examples
|
Examples
|
||||||
--------
|
--------
|
||||||
@ -60,7 +60,7 @@ Arguments can be accessed by position and arguments' indices can be repeated:
|
|||||||
std::string s = str(fmt::Format("{0}{1}{0}") << "abra" << "cad");
|
std::string s = str(fmt::Format("{0}{1}{0}") << "abra" << "cad");
|
||||||
// s == "abracadabra"
|
// s == "abracadabra"
|
||||||
|
|
||||||
Format can be used as a safe portable replacement for ``itoa``:
|
C++ Format can be used as a safe portable replacement for ``itoa``:
|
||||||
|
|
||||||
.. code-block:: c++
|
.. code-block:: c++
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user