From a80cf6f72e673bce3d3ba1b3e6faaa51ce2bac23 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Sun, 3 Feb 2013 21:35:20 +0000 Subject: [PATCH] [func.wrap.func.targ] Use 'class' not 'typename' The rest of the library always uses 'class' in template parameter lists, so change the only occurrence of 'typename' to be consistent. Also fix tcode{} markup to include entire expression. --- source/utilities.tex | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/utilities.tex b/source/utilities.tex index 52eb54905f..5ab81550e7 100644 --- a/source/utilities.tex +++ b/source/utilities.tex @@ -8168,8 +8168,8 @@ // \ref{func.wrap.func.targ}, function target access: const std::type_info& target_type() const noexcept; - template T* target() noexcept; - template const T* target() const noexcept; + template T* target() noexcept; + template const T* target() const noexcept; }; @@ -8477,8 +8477,8 @@ \indexlibrary{\idxcode{function}!\idxcode{target}}% \indexlibrary{\idxcode{target}!\idxcode{function}}% \begin{itemdecl} -template T* target() noexcept; -template const T* target() const noexcept; +template T* target() noexcept; +template const T* target() const noexcept; \end{itemdecl} \begin{itemdescr} @@ -8488,7 +8488,7 @@ \tcode{ArgTypes} and return type \tcode{R}. -\pnum\returns If \tcode{target_}type() == typeid(T) +\pnum\returns If \tcode{target_type() == typeid(T)} a pointer to the stored function target; otherwise a null pointer. \end{itemdescr}