From b06f6a6d8923aa340f4af4cddab4b43cd9beffd1 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Thu, 13 Mar 2003 00:08:34 +0000 Subject: [PATCH] Move away from attributes, toward elements [SVN r17869] --- doc/ref.xml | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/doc/ref.xml b/doc/ref.xml index 05942eb..b22a3d6 100644 --- a/doc/ref.xml +++ b/doc/ref.xml @@ -114,16 +114,17 @@ T. - - reference_wrapper + + reference_wrapper is primarily used to "feed" references to function templates (algorithms) that take their parameter by value. It provides an implicit conversion to T&, which usually allows - the function templates to work on references unmodified. - - - + the function templates to work on references + unmodified. + + + T @@ -185,7 +186,12 @@ Determine if a type T is an instantiation of reference_wrapper. - The value static constant will be true iff the type T is a specialization of reference_wrapper. + + The value static + constant will be true iff the + type T is a specialization of + reference_wrapper. + @@ -197,9 +203,15 @@ Find the type in a reference_wrapper. - The typedef type is T::type if T is a reference_wrapper, T otherwise. + + The typedef type is + T::type if + T is a + reference_wrapper, + T otherwise. + - + unspecified