Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-02-12 13:34:06


Because these templates require so much hand-editing, it would help to have
more whitespace. For example:

...
</pre>
<dl class="function-semantics">
  <dt><b>Requires:</b> {{text}}</dt>
  <dt><b>Effects:</b> {{text}}</dt>
  <dt><b>Postconditions:</b> {{text}}</dt>
  <dt><b>Returns:</b> {{text}}</dt>
  <dt><b>Throws:</b> {{text}}</dt>
  <dt><b>Complexity:</b> {{text}}</dt>
  <dt><b>Rationale:</b> {{text}}</dt>
</dl>
<h4><a name="class_-spec-modifiers"></a>Template class class_ modifier
functions</h4>
<pre>
{{function}}
</pre>
<dl class="function-semantics">
  <dt><b>Requires:</b> {{text}}</dt>
  <dt><b>Effects:</b> {{text}}</dt>
  <dt><b>Postconditions:</b> {{text}}</dt>
  <dt><b>Returns:</b> {{text}}</dt>
  <dt><b>Throws:</b> {{text}}</dt>
  <dt><b>Complexity:</b> {{text}}</dt>
  <dt><b>Rationale:</b> {{text}}</dt>
</dl>
<h4><a name="class_-spec-observers"></a>Template class class_ observer
functions</h4>
<pre>
{{function}}
</pre>
<dl class="function-semantics">
  <dt><b>Requires:</b> {{text}}</dt>
  <dt><b>Effects:</b> {{text}}</dt>
  <dt><b>Postconditions:</b> {{text}}</dt>
  <dt><b>Returns:</b> {{text}}</dt>
...

If your class has no modifier functions, how long does it take to figure out
where to start/stop deleting?

*---------------------------------------------------*
                  David Abrahams
      C++ Booster (http://www.boost.org)
      Pythonista (http://www.python.org)
  resume: http://users.rcn.com/abrahams/resume.html
          email: david.abrahams_at_[hidden]
*---------------------------------------------------*


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk