Update README.rst

This commit is contained in:
Victor Zverovich 2014-10-02 06:44:34 -07:00
parent fae3ae67b9
commit 43b389f358

View File

@ -68,7 +68,7 @@ C++ Format can be used as a safe portable replacement for ``itoa``:
.. code-block:: c++ .. code-block:: c++
fmt::Writer w; fmt::MemoryWriter w;
w << 42; // replaces itoa(42, buffer, 10) w << 42; // replaces itoa(42, buffer, 10)
w << fmt::hex(42); // replaces itoa(42, buffer, 16) w << fmt::hex(42); // replaces itoa(42, buffer, 16)
// access the string using w.str() or w.c_str() // access the string using w.str() or w.c_str()