From fdd02d9ee76b98dd878c8e2bec17e3743de3838e Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Fri, 3 Nov 2017 19:41:34 -0700 Subject: [PATCH] Tidy up some documented constructor syntax --- CHANGELOG.md | 1 + doc/qbk/07_concepts/BodyReader.qbk | 2 +- doc/qbk/07_concepts/BodyWriter.qbk | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index badc72e6..64668e85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ Version 137: * ConstBufferSequence mandates pointer equivalence * Add FieldsWriter constructor requirement +* Tidy up some documented constructor syntax -------------------------------------------------------------------------------- diff --git a/doc/qbk/07_concepts/BodyReader.qbk b/doc/qbk/07_concepts/BodyReader.qbk index b124307c..dc935285 100644 --- a/doc/qbk/07_concepts/BodyReader.qbk +++ b/doc/qbk/07_concepts/BodyReader.qbk @@ -44,7 +44,7 @@ In this table: [table Valid expressions [[Expression] [Type] [Semantics, Pre/Post-conditions]] [ - [`R(m);`] + [`R{m};`] [] [ Constructible from `m`. The lifetime of `m` is guaranteed to diff --git a/doc/qbk/07_concepts/BodyWriter.qbk b/doc/qbk/07_concepts/BodyWriter.qbk index 1bacf9c9..2f86d345 100644 --- a/doc/qbk/07_concepts/BodyWriter.qbk +++ b/doc/qbk/07_concepts/BodyWriter.qbk @@ -52,7 +52,7 @@ In this table: This is the type of buffer returned by `W::get`. ] ][ - [`W(m);`] + [`W{m};`] [] [ Constructible from `m`. The lifetime of `m` is guaranteed