Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54817 - trunk/tools/quickbook/detail
From: daniel_james_at_[hidden]
Date: 2009-07-08 17:41:11


Author: danieljames
Date: 2009-07-08 17:41:10 EDT (Wed, 08 Jul 2009)
New Revision: 54817
URL: http://svn.boost.org/trac/boost/changeset/54817

Log:
I got a bit confused by this comment, so try to make it clearer.
Text files modified:
   trunk/tools/quickbook/detail/template_stack.hpp | 12 ++++++++----
   1 files changed, 8 insertions(+), 4 deletions(-)

Modified: trunk/tools/quickbook/detail/template_stack.hpp
==============================================================================
--- trunk/tools/quickbook/detail/template_stack.hpp (original)
+++ trunk/tools/quickbook/detail/template_stack.hpp 2009-07-08 17:41:10 EDT (Wed, 08 Jul 2009)
@@ -21,14 +21,18 @@
 
 namespace quickbook
 {
- // 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
+ // N: template param name[N-1]
+ // N+1: template body
+ // file position
 
     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