Update Breathe and document BasicArrayWriter(Char (&array)[SIZE])

Fixes #125
This commit is contained in:
vitaut 2015-06-03 18:21:01 -07:00
parent 4d521064cf
commit d311927c64
2 changed files with 2 additions and 3 deletions

View File

@ -29,7 +29,7 @@ def build_docs():
execfile(activate_this_file, dict(__file__=activate_this_file)) execfile(activate_this_file, dict(__file__=activate_this_file))
# Install Sphinx and Breathe. # Install Sphinx and Breathe.
pip_install('sphinx==1.3.1') pip_install('sphinx==1.3.1')
pip_install('michaeljones/breathe', '18bd461b4e29dde0adf5df4b3da7e5473e2c2983') pip_install('michaeljones/breathe', '511b0887293e7c6b12310bb61b3659068f48f0f4')
# Build docs. # Build docs.
cmd = ['doxygen', '-'] cmd = ['doxygen', '-']
p = Popen(cmd, stdin=PIPE, cwd=doc_dir) p = Popen(cmd, stdin=PIPE, cwd=doc_dir)

View File

@ -2378,8 +2378,7 @@ class BasicArrayWriter : public BasicWriter<Char> {
BasicArrayWriter(Char *array, std::size_t size) BasicArrayWriter(Char *array, std::size_t size)
: BasicWriter<Char>(buffer_), buffer_(array, size) {} : BasicWriter<Char>(buffer_), buffer_(array, size) {}
// FIXME: this is temporary undocumented due to a bug in Sphinx /**
/*
\rst \rst
Constructs a :class:`fmt::BasicArrayWriter` object for *array* of the Constructs a :class:`fmt::BasicArrayWriter` object for *array* of the
size known at compile time. size known at compile time.