Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53732 - branches/quickbook-1.5/detail
From: daniel_james_at_[hidden]
Date: 2009-06-07 16:33:59


Author: danieljames
Date: 2009-06-07 16:33:59 EDT (Sun, 07 Jun 2009)
New Revision: 53732
URL: http://svn.boost.org/trac/boost/changeset/53732

Log:
I got a bit confused by this comment, so try to make it clearer.
Text files modified:
   branches/quickbook-1.5/detail/template_stack.hpp | 16 +++++++++-------
   1 files changed, 9 insertions(+), 7 deletions(-)

Modified: branches/quickbook-1.5/detail/template_stack.hpp
==============================================================================
--- branches/quickbook-1.5/detail/template_stack.hpp (original)
+++ branches/quickbook-1.5/detail/template_stack.hpp 2009-06-07 16:33:59 EDT (Sun, 07 Jun 2009)
@@ -23,15 +23,17 @@
 {
     struct template_scope;
 
- // template symbols are stored as follows:
+ // template symbols with N arguments are stored as follows:
     //
- // template name
- // template param name[0]
- // template param name[1]
+ // vector<std::string>
+ // 0: template name
+ // 1: template param name[0]
+ // 2: template param name[1]
     // ...
- // template param name[N]
- // template body
- // template scope (only used for 1.5+, 1.4- uses the dynamic scope)
+ // N: template param name[N-1]
+ // N+1: template body
+ // file position
+ // template scope (only used for 1.5+, 1.4- uses the dynamic scope)
 
     typedef boost::tuple<
             std::vector<std::string>


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