Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56790 - in sandbox/ggl/formal_review_request/libs/ggl/doc: doxygen_input/pages doxygen_output/html
From: barend.gehrels_at_[hidden]
Date: 2009-10-13 12:29:24


Author: barendgehrels
Date: 2009-10-13 12:29:23 EDT (Tue, 13 Oct 2009)
New Revision: 56790
URL: http://svn.boost.org/trac/boost/changeset/56790

Log:
Fixed typo/EOL in rationale
Text files modified:
   sandbox/ggl/formal_review_request/libs/ggl/doc/doxygen_input/pages/doxygen_design_cross_section.hpp | 1 +
   sandbox/ggl/formal_review_request/libs/ggl/doc/doxygen_output/html/design.html | 7 ++++---
   sandbox/ggl/formal_review_request/libs/ggl/doc/doxygen_output/html/doxygen__design__cross__section_8hpp_source.html | 2 +-
   3 files changed, 6 insertions(+), 4 deletions(-)

Modified: sandbox/ggl/formal_review_request/libs/ggl/doc/doxygen_input/pages/doxygen_design_cross_section.hpp
==============================================================================
--- sandbox/ggl/formal_review_request/libs/ggl/doc/doxygen_input/pages/doxygen_design_cross_section.hpp (original)
+++ sandbox/ggl/formal_review_request/libs/ggl/doc/doxygen_input/pages/doxygen_design_cross_section.hpp 2009-10-13 12:29:23 EDT (Tue, 13 Oct 2009)
@@ -291,6 +291,7 @@
 There are two solutions:
 - tag dispatching
 - SFINAE
+
 We select tag dispatching because it fits into the traits system, and also because SFINAE has several drawbacks, listed in another paragraph.
 With tag dispatching the distance algorithm inspects the type of geometry of the input parameters. The distance function will be changed into this:
 \code

Modified: sandbox/ggl/formal_review_request/libs/ggl/doc/doxygen_output/html/design.html
==============================================================================
--- sandbox/ggl/formal_review_request/libs/ggl/doc/doxygen_output/html/design.html (original)
+++ sandbox/ggl/formal_review_request/libs/ggl/doc/doxygen_output/html/design.html 2009-10-13 12:29:23 EDT (Tue, 13 Oct 2009)
@@ -211,7 +211,9 @@
                 S <span class="keyword">const</span>&amp; s)
 </pre></div><p>
 We want to be generic, the distance function has to be called from code not knowing the type of geometry it handles, so it has to be named distance. We also cannot create an overload because that would be ambiguous, having the same template signature. There are two solutions:<ul>
-<li>tag dispatching</li><li>SFINAE We select tag dispatching because it fits into the traits system, and also because SFINAE has several drawbacks, listed in another paragraph. With tag dispatching the distance algorithm inspects the type of geometry of the input parameters. The distance function will be changed into this: <div class="fragment"><pre class="fragment"><span class="keyword">template</span> &lt;<span class="keyword">typename</span> G1, <span class="keyword">typename</span> G2&gt;
+<li>tag dispatching</li><li>SFINAE</li></ul>
+<p>
+We select tag dispatching because it fits into the traits system, and also because SFINAE has several drawbacks, listed in another paragraph. With tag dispatching the distance algorithm inspects the type of geometry of the input parameters. The distance function will be changed into this: <div class="fragment"><pre class="fragment"><span class="keyword">template</span> &lt;<span class="keyword">typename</span> G1, <span class="keyword">typename</span> G2&gt;
 <span class="keywordtype">double</span> <a class="code" href="group__distance.html#g22a618786d2601e9201896a8346c161b" title="Calculate distance between two geometries with a specified strategy.">distance</a>(G1 <span class="keyword">const</span>&amp; g1, G2 <span class="keyword">const</span>&amp; g2)
 {
     <span class="keywordflow">return</span> <a class="code" href="group__distance.html#g22a618786d2601e9201896a8346c161b" title="Calculate distance between two geometries with a specified strategy.">dispatch::distance</a>
@@ -221,8 +223,7 @@
             G1, G2
         &gt;::apply(g1, g2);
 }
-</pre></div></li></ul>
-<p>
+</pre></div><p>
 It is referring to the tag meta-function and forwarding the call to the apply method of a dispatch::distance structure. The tag meta-function is another traits class, and should be specialized for per point type, both shown here: <div class="fragment"><pre class="fragment"><span class="keyword">namespace </span>traits
 {
     <span class="keyword">template</span> &lt;<span class="keyword">typename</span> G&gt;

Modified: sandbox/ggl/formal_review_request/libs/ggl/doc/doxygen_output/html/doxygen__design__cross__section_8hpp_source.html
==============================================================================
--- sandbox/ggl/formal_review_request/libs/ggl/doc/doxygen_output/html/doxygen__design__cross__section_8hpp_source.html (original)
+++ sandbox/ggl/formal_review_request/libs/ggl/doc/doxygen_output/html/doxygen__design__cross__section_8hpp_source.html 2009-10-13 12:29:23 EDT (Tue, 13 Oct 2009)
@@ -54,7 +54,7 @@
 <a name="l00012"></a>00012
 <a name="l00013"></a>00013 <span class="comment">//---------------------------------------------------------------------------------------------------</span>
 <a name="l00014"></a>00014
-<a name="l00820"></a>00820 <span class="preprocessor">#endif // _DOXYGEN_DESIGN_RATIONALE_HPP</span>
+<a name="l00821"></a>00821 <span class="preprocessor">#endif // _DOXYGEN_DESIGN_RATIONALE_HPP</span>
 </pre></div></div>
 <hr size="1">
 <table width="100%">


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