Update docs

This commit is contained in:
Victor Zverovich 2021-06-02 16:25:19 -07:00
parent d142579e97
commit aa09e0f5dd
2 changed files with 17 additions and 19 deletions

View File

@ -535,7 +535,8 @@
`#2321 <https://github.com/fmtlib/fmt/pull/2321>`_,
`#2323 <https://github.com/fmtlib/fmt/pull/2323>`_,
`#2328 <https://github.com/fmtlib/fmt/issues/2328>`_,
`#2329 <https://github.com/fmtlib/fmt/pull/2329>`_).
`#2329 <https://github.com/fmtlib/fmt/pull/2329>`_,
`#2333 <https://github.com/fmtlib/fmt/pull/2333>`_).
Thanks `@darklukee <https://github.com/darklukee>`_,
`@fagg (Ashton Fagg) <https://github.com/fagg>`_,
`@killerbot242 (Lieven de Cock) <https://github.com/killerbot242>`_,

View File

@ -305,18 +305,17 @@ Utilities
.. doxygentypedef:: fmt::char_t
.. doxygenfunction:: fmt::ptr(const T *p)
.. doxygenfunction:: fmt::ptr(T p)
.. doxygenfunction:: fmt::ptr(const std::unique_ptr<T> &p)
.. doxygenfunction:: fmt::ptr(const std::shared_ptr<T> &p)
.. doxygenfunction:: fmt::ptr(T (*fn)(Args...))
.. doxygenfunction:: fmt::to_string(const T &value)
.. doxygenfunction:: fmt::to_string_view(const Char *s)
.. doxygenfunction:: fmt::to_string_view(const Char *s) -> basic_string_view<Char>
.. doxygenfunction:: fmt::join(Range &&range, string_view sep)
.. doxygenfunction:: fmt::join(Range &&range, string_view sep) -> join_view<detail::iterator_t<Range>, detail::sentinel_t<Range>>
.. doxygenfunction:: fmt::join(It begin, Sentinel end, string_view sep)
.. doxygenfunction:: fmt::join(It begin, Sentinel end, string_view sep) -> join_view<It, Sentinel>
.. doxygenclass:: fmt::detail::buffer
:members:
@ -328,18 +327,14 @@ Utilities
System Errors
-------------
fmt does not use ``errno`` to communicate errors to the user, but it may call
system functions which set ``errno``. Users should not make any assumptions about
the value of ``errno`` being preserved by library functions.
{fmt} does not use ``errno`` to communicate errors to the user, but it may call
system functions which set ``errno``. Users should not make any assumptions
about the value of ``errno`` being preserved by library functions.
.. doxygenclass:: fmt::system_error
:members:
.. doxygenfunction:: fmt::system_error
.. doxygenfunction:: fmt::format_system_error
.. doxygenclass:: fmt::windows_error
:members:
Custom Allocators
-----------------
@ -473,6 +468,9 @@ System APIs
.. doxygenclass:: fmt::ostream
:members:
.. doxygenfunction:: fmt::windows_error
:members:
.. _ostream-api:
``std::ostream`` Support
@ -515,12 +513,12 @@ argument type doesn't match its format specification.
.. doxygenfunction:: printf(const S &format_str, const Args&... args)
.. doxygenfunction:: fprintf(std::FILE *f, const S &format, const Args&... args)
.. doxygenfunction:: fprintf(std::basic_ostream<Char> &os, const S &format_str, const Args&... args)
.. doxygenfunction:: fprintf(std::FILE *f, const S &format, const Args&... args) -> int
.. doxygenfunction:: sprintf(const S&, const Args&...)
.. _xchar-api:
``wchar_t`` Support
===================
@ -546,5 +544,4 @@ differences:
collisions with standard library implementations.
* Width calculation doesn't use grapheme clusterization. The latter has been
implemented in a separate branch but hasn't been integrated yet.
* Chrono formatting doesn't support C++20 date types since they are not provided
by standard library implementations.
* Most C++20 chrono types are not supported yet.