Boost logo

Boost-Commit :

From: widman_at_[hidden]
Date: 2008-07-27 00:48:29


Author: james.widman
Date: 2008-07-27 00:48:28 EDT (Sun, 27 Jul 2008)
New Revision: 47834
URL: http://svn.boost.org/trac/boost/changeset/47834

Log:
Changed some instances of 'constrained template' to 'constrained context' where the text obviously doesn't apply to late-checked blocks
Text files modified:
   sandbox/committee/concepts/wording/wording.tex | 54 ++++++++++++++++++++++++++++++---------
   1 files changed, 41 insertions(+), 13 deletions(-)

Modified: sandbox/committee/concepts/wording/wording.tex
==============================================================================
--- sandbox/committee/concepts/wording/wording.tex (original)
+++ sandbox/committee/concepts/wording/wording.tex 2008-07-27 00:48:28 EDT (Sun, 27 Jul 2008)
@@ -331,7 +331,9 @@
 
 \rSec2[basic.scope.req]{Requirements scope}
 \pnum
-\addedConcepts{In a constrained template (\mbox{\ref{temp.constrained}}),
+\addedConcepts{In a constrained }
+ \changedCCC{template}{context}
+\addedConcepts{ (\mbox{\ref{temp.constrained}}),
 the names of all associated functions inside the concepts named
 by the concept requirements in the template's requirements
 are visible in the scope of the template
@@ -852,7 +854,12 @@
   parameters do not behave as if they were replaced with their
   corresponding archetypes. Thus, template parameters imply the
   existence of dependent types, type-dependent expressions, and
- dependent names as in an unconstrained template. \mbox{\exitnote}}
+ dependent names as in an unconstrained template. }
+\addedCC{
+Furthermore, names at requirements scope (\mbox{\ref{basic.scope.req}})
+are not visible.
+}
+\addedConcepts{ \mbox{\exitnote}}
   
 \begin{bnf}
 late-check-block:\br
@@ -1208,7 +1215,9 @@
 
 \setcounter{Paras}{6}
 \pnum
-\addedConcepts{In a constrained template (\mbox{\ref{temp.constrained}}),
+\addedConcepts{In a constrained }
+ \changedCCC{template}{context}
+\addedConcepts{ (\mbox{\ref{temp.constrained}}),
   a type archetype \mbox{\techterm{cv} \tcode{T}} shall only
   be used as the type of a variable if the template has a concept
   requirement \mbox{\tcode{VariableType<T>}}.}
@@ -1216,7 +1225,9 @@
 \rSec2[dcl.ptr]{Pointers}
 \setcounter{Paras}{4}
 \pnum
-\addedConcepts{In a constrained template (\mbox{\ref{temp.constrained}}),
+\addedConcepts{In a constrained }
+ \changedCCC{template}{context}
+\addedConcepts{ (\mbox{\ref{temp.constrained}}),
   a type archetype \mbox{\techterm{cv} \tcode{T}} shall only
   be used to form a type ``pointer to \mbox{\techterm{cv} \tcode{T}}''
     if the template has a concept requirement
@@ -1225,7 +1236,9 @@
 \rSec2[dcl.ref]{References}
 \setcounter{Paras}{5}
 \pnum
-\addedConcepts{In a constrained template (\mbox{\ref{temp.constrained}}), a
+\addedConcepts{In a constrained }
+ \changedCCC{template}{context}
+\addedConcepts{ (\mbox{\ref{temp.constrained}}), a
   type archetype \mbox{\techterm{cv} \tcode{T}} shall only be
   used to form a type ``reference to \mbox{\techterm{cv} \tcode{T}}''
   if the
@@ -1240,7 +1253,9 @@
 or
 ``\textit{cv}\
 \tcode{void}.''
-\addedConcepts{In a constrained template (\mbox{\ref{temp.constrained}}), a
+\addedConcepts{In a constrained }
+ \changedCCC{template}{context}
+\addedConcepts{ (\mbox{\ref{temp.constrained}}), a
   pointer to member shall only point to a type archetype \mbox{\techterm{cv}
     \tcode{T}} if the template has a concept
   requirement \mbox{\tcode{MemberPointeeType<T>}}.}
@@ -1263,7 +1278,9 @@
 from a pointer to member, from a class,
 from an enumeration type,
 or from another array.
-\addedConcepts{In a constrained template (\mbox{\ref{temp.constrained}}), an
+\addedConcepts{In a constrained }
+ \changedCCC{template}{context}
+\addedConcepts{ (\mbox{\ref{temp.constrained}}), an
   array shall only be constructed from a type archetype \mbox{\techterm{cv}
     \tcode{T}} if the template has a concept
   requirement \mbox{\tcode{ObjectType<T>}}.}
@@ -1293,7 +1310,9 @@
 although they may have a return type of type pointer or reference to such things.
 There shall be no arrays of functions, although there can be arrays of pointers
 to functions.
-\addedConcepts{In a constrained template (\mbox{\ref{temp.constrained}}), a
+\addedConcepts{In a constrained }
+ \changedCCC{template}{context}
+\addedConcepts{ (\mbox{\ref{temp.constrained}}), a
   type archetype \mbox{\techterm{cv}} \mbox{\tcode{T}} shall
   only be used as the return type of a function type if the template
   has a concept requirement \mbox{\tcode{Returnable<T>}}.}
@@ -5480,7 +5499,9 @@
 a value is a value. }
 
 \pnum
-\addedConcepts{A type in a constrained template aliases an archetype if it is:}
+\addedConcepts{A type in a constrained }
+ \changedCCC{template}{context}
+\addedConcepts{ aliases an archetype if it is:}
 \begin{itemize}
 \item \addedConcepts{a template type parameter (\mbox{\ref{temp.param}}),}
 \item \addedConcepts{an associated type (\mbox{\ref{concept.assoc}}), or}
@@ -5489,14 +5510,18 @@
 \end{itemize}
 
 \pnum
-\addedConcepts{A template in a constrained template aliases an archetype if it is:}
+\addedConcepts{A template in a constrained }
+ \changedCCC{template}{context}
+\addedConcepts{ aliases an archetype if it is:}
 \begin{itemize}
 \additemConcepts{a template template parameter (\mbox{\ref{temp.param}}) or}
 \additemConcepts{an associated class template (\mbox{\ref{concept.assoc}}).}
 \end{itemize}
 
 \pnum
-\addedConcepts{A value in a constrained template aliases an archetype if it is a
+\addedConcepts{A value in a constrained }
+ \changedCCC{template}{context}
+\addedConcepts{ aliases an archetype if it is a
   \mbox{\techterm{constant-expression}} (\mbox{\ref{expr.const}})
   whose value depends on a template parameter.}
 
@@ -5872,8 +5897,11 @@
 \rSec2[temp.constrained.set]{Candidate sets}
 \pnum
 \addedConcepts{A \mbox{\techterm{candidate set}} is a set containing
- functions and function templates that is defined in a constrained
- template (a \mbox{\techterm{retained}} \mbox{\techterm{candidate
+ functions and function templates that is defined in a constrained
+}
+\changedCCC{template }{context}
+\addedConcepts{
+ (a \mbox{\techterm{retained}} \mbox{\techterm{candidate
       set}},~\mbox{\ref{temp.constrained.inst}}) or as the result of
   satisfying an associated function requirement in a concept map (an
   \mbox{\techterm{associated}} \mbox{\techterm{function}} \mbox{\techterm{candidate


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk