From 47c9f69ffee2057f5d72f14342440d8db4ad1f3b Mon Sep 17 00:00:00 2001 From: Glen Fernandes Date: Mon, 29 Apr 2019 18:40:37 -0400 Subject: [PATCH] Correct documentation URLs and update documentation --- doc/ostream_string.qbk | 10 +++++++--- meta/libraries.json | 4 ++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/doc/ostream_string.qbk b/doc/ostream_string.qbk index c01d353..44ab09c 100644 --- a/doc/ostream_string.qbk +++ b/doc/ostream_string.qbk @@ -15,7 +15,7 @@ Distributed under the Boost Software License, Version 1.0. [section Overview] The header 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\]. [endsect] @@ -51,13 +51,17 @@ ostream_string(std::basic_ostream& os, ``` [variablelist +[[`template std::basic_ostream& +ostream_string(std::basic_ostream& os, const charT* data, +std::size_t size);`] +[[variablelist [[Effects] [Behaves like a formatted inserter (as described in \[ostream.formatted.reqmts\]) of `os`. Creates a character sequence `seq` of `size` characters starting at `data`, each widened using `os.widen()` (\[basic.ios.members\]). Determines padding for `seq` as described in \[ostream.formatted.reqmts\]. Inserts `seq` into `os`. Calls `width(0)`.]] -[[Returns] [`os`.]]] +[[Returns][`os`.]]]]]] [endsect] @@ -66,6 +70,6 @@ ostream_string(std::basic_ostream& os, [heading boost 1.71] * Glen Fernandes updated the implementation of the `basic_string_ref` and `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] diff --git a/meta/libraries.json b/meta/libraries.json index 1b30b41..f3c52ba 100644 --- a/meta/libraries.json +++ b/meta/libraries.json @@ -89,7 +89,7 @@ "key": "utility/ostream_string", "name": "ostream_string", "description": "String formatted output function.", - "documentation": "ostream_string.html", + "documentation": "doc/html/ostream_string.html", "category": [ "IO" ], @@ -115,7 +115,7 @@ "key": "utility/string_ref", "name": "string_ref", "description": "String view templates.", - "documentation": "string_ref.html", + "documentation": "doc/html/string_ref.html", "category": [ "Containers" ],