Correct documentation URLs and update documentation

This commit is contained in:
Glen Fernandes 2019-04-29 18:40:37 -04:00
parent 7b74d2d494
commit 47c9f69ffe
2 changed files with 9 additions and 5 deletions

View File

@ -15,7 +15,7 @@ Distributed under the Boost Software License, Version 1.0.
[section Overview] [section Overview]
The header <boost/utility/ostream_string.hpp> provides the function template The header <boost/utility/ostream_string.hpp> provides the function template
boost::ostream_string for formatted output that satisfies the requirements of `boost::ostream_string` for formatted output that satisfies the requirements of
\[ostream.formatted.reqmts\]. \[ostream.formatted.reqmts\].
[endsect] [endsect]
@ -51,13 +51,17 @@ ostream_string(std::basic_ostream<charT, traits>& os,
``` ```
[variablelist [variablelist
[[`template<class charT, class traits> std::basic_ostream<charT, traits>&
ostream_string(std::basic_ostream<charT, traits>& os, const charT* data,
std::size_t size);`]
[[variablelist
[[Effects] [[Effects]
[Behaves like a formatted inserter (as described in [Behaves like a formatted inserter (as described in
\[ostream.formatted.reqmts\]) of `os`. Creates a character sequence `seq` of \[ostream.formatted.reqmts\]) of `os`. Creates a character sequence `seq` of
`size` characters starting at `data`, each widened using `os.widen()` `size` characters starting at `data`, each widened using `os.widen()`
(\[basic.ios.members\]). Determines padding for `seq` as described in (\[basic.ios.members\]). Determines padding for `seq` as described in
\[ostream.formatted.reqmts\]. Inserts `seq` into `os`. Calls `width(0)`.]] \[ostream.formatted.reqmts\]. Inserts `seq` into `os`. Calls `width(0)`.]]
[[Returns] [`os`.]]] [[Returns][`os`.]]]]]]
[endsect] [endsect]
@ -66,6 +70,6 @@ ostream_string(std::basic_ostream<charT, traits>& os,
[heading boost 1.71] [heading boost 1.71]
* Glen Fernandes updated the implementation of the `basic_string_ref` and * Glen Fernandes updated the implementation of the `basic_string_ref` and
`basic_string_view` stream insertion operators to write directly to the `basic_string_view` stream insertion operators to write directly to the
`basic_streambuf` and refactored that functionality into a common utility. `basic_streambuf` and refactored that functionality into this common utility.
[endsect] [endsect]

View File

@ -89,7 +89,7 @@
"key": "utility/ostream_string", "key": "utility/ostream_string",
"name": "ostream_string", "name": "ostream_string",
"description": "String formatted output function.", "description": "String formatted output function.",
"documentation": "ostream_string.html", "documentation": "doc/html/ostream_string.html",
"category": [ "category": [
"IO" "IO"
], ],
@ -115,7 +115,7 @@
"key": "utility/string_ref", "key": "utility/string_ref",
"name": "string_ref", "name": "string_ref",
"description": "String view templates.", "description": "String view templates.",
"documentation": "string_ref.html", "documentation": "doc/html/string_ref.html",
"category": [ "category": [
"Containers" "Containers"
], ],