Add fmt::detail::buffer to the docs (#704)

This commit is contained in:
Victor Zverovich 2020-05-15 14:35:55 -07:00
parent ea1cd9638c
commit c5ed73aab2
2 changed files with 9 additions and 1 deletions

View File

@ -273,6 +273,9 @@ Utilities
.. doxygenfunction:: fmt::join(It, It, string_view)
.. doxygenclass:: fmt::detail::buffer
:members:
.. doxygenclass:: fmt::basic_memory_buffer
:protected-members:
:members:

View File

@ -627,7 +627,12 @@ using has_formatter =
namespace detail {
/** A contiguous memory buffer with an optional growing ability. */
/**
\rst
A contiguous memory buffer with an optional growing ability. It is an internal
class and shouldn't be used directly, only via `~fmt::basic_memory_buffer`.
\endrst
*/
template <typename T> class buffer {
private:
T* ptr_;