Boost logo

Boost-Commit :

From: dgregor_at_[hidden]
Date: 2008-04-17 14:09:58


Author: dgregor
Date: 2008-04-17 14:09:58 EDT (Thu, 17 Apr 2008)
New Revision: 44509
URL: http://svn.boost.org/trac/boost/changeset/44509

Log:
Description of associated template syntax
Text files modified:
   sandbox/committee/concepts/wording/wording.tex | 14 +++++++++++---
   1 files changed, 11 insertions(+), 3 deletions(-)

Modified: sandbox/committee/concepts/wording/wording.tex
==============================================================================
--- sandbox/committee/concepts/wording/wording.tex (original)
+++ sandbox/committee/concepts/wording/wording.tex 2008-04-17 14:09:58 EDT (Thu, 17 Apr 2008)
@@ -3399,11 +3399,19 @@
   typename result_type;
   result_type operator()(F, T1);
 }
-\end{codeblock}
-\addedConcepts{\mbox{\exitexample}}
+\end{codeblock}\addedConcepts{\mbox{\exitexample}}
 
 \pnum
-TODO: Add text for associated templates!
+\addedCC{An associated template specifies a template in a concept
+ map. \mbox{\enterexample}}
+\color{ccadd}
+\begin{codeblock}
+concept C<typename T> {
+ template<ObjectType U> class X;
+}
+\end{codeblock}
+\addedCC{\mbox{\exitexample}}
+\color{addclr}
 
 \pnum
 \addedConcepts{Associated types and templates may be provided with a default value. The


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