Boost logo

Boost-Commit :

From: jmcintyre_at_[hidden]
Date: 2008-04-30 18:37:55


Author: jared
Date: 2008-04-30 18:37:55 EDT (Wed, 30 Apr 2008)
New Revision: 44956
URL: http://svn.boost.org/trac/boost/changeset/44956

Log:
more documentation typo fixes
Text files modified:
   sandbox/explore/libs/explore/doc/explore.qbk | 8 ++++----
   sandbox/explore/libs/explore/doc/html/boost_explore/tutorial.html | 2 +-
   sandbox/explore/libs/explore/doc/html/index.html | 8 ++++----
   sandbox/explore/libs/explore/doc/tutorial.qbk | 2 +-
   4 files changed, 10 insertions(+), 10 deletions(-)

Modified: sandbox/explore/libs/explore/doc/explore.qbk
==============================================================================
--- sandbox/explore/libs/explore/doc/explore.qbk (original)
+++ sandbox/explore/libs/explore/doc/explore.qbk 2008-04-30 18:37:55 EDT (Wed, 30 Apr 2008)
@@ -39,16 +39,16 @@
 
    // simple vector example
    std::vector<int> vi;
- vvi.push_back(1);
- vvi.push_back(2);
- vvi.push_back(3);
+ vi.push_back(1);
+ vi.push_back(2);
+ vi.push_back(3);
    std::cout << vi; // prints [1, 2, 3]
    
    //lets do some containers in containers
    std::vector<std::vector<int> > vvi;
    vvi.push_back(vi);
    vvi.push_back(vi);
- std::cout << vi; // prints [[1, 2, 3], [1, 2, 3]]
+ std::cout << vvi; // prints [[1, 2, 3], [1, 2, 3]]
    
    // associative containers
    std::map<std::string, int> si_map;

Modified: sandbox/explore/libs/explore/doc/html/boost_explore/tutorial.html
==============================================================================
--- sandbox/explore/libs/explore/doc/html/boost_explore/tutorial.html (original)
+++ sandbox/explore/libs/explore/doc/html/boost_explore/tutorial.html 2008-04-30 18:37:55 EDT (Wed, 30 Apr 2008)
@@ -80,7 +80,7 @@
 <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">&lt;</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="special">&gt;</span> <span class="identifier">vvi</span><span class="special">;</span>
 <span class="identifier">vvi</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="identifier">vi</span><span class="special">);</span>
 <span class="identifier">vvi</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="identifier">vi</span><span class="special">);</span>
-<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="identifier">vi</span><span class="special">;</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="identifier">vvi</span><span class="special">;</span>
 </pre>
 <p>
       prints

Modified: sandbox/explore/libs/explore/doc/html/index.html
==============================================================================
--- sandbox/explore/libs/explore/doc/html/index.html (original)
+++ sandbox/explore/libs/explore/doc/html/index.html 2008-04-30 18:37:55 EDT (Wed, 30 Apr 2008)
@@ -62,16 +62,16 @@
 
 <span class="comment">// simple vector example
 </span><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="identifier">vi</span><span class="special">;</span>
-<span class="identifier">vvi</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">1</span><span class="special">);</span>
-<span class="identifier">vvi</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">2</span><span class="special">);</span>
-<span class="identifier">vvi</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">3</span><span class="special">);</span>
+<span class="identifier">vi</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">1</span><span class="special">);</span>
+<span class="identifier">vi</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">2</span><span class="special">);</span>
+<span class="identifier">vi</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="number">3</span><span class="special">);</span>
 <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="identifier">vi</span><span class="special">;</span> <span class="comment">// prints [1, 2, 3]
 </span>
 <span class="comment">//lets do some containers in containers
 </span><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">&lt;</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="special">&gt;</span> <span class="identifier">vvi</span><span class="special">;</span>
 <span class="identifier">vvi</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="identifier">vi</span><span class="special">);</span>
 <span class="identifier">vvi</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span><span class="identifier">vi</span><span class="special">);</span>
-<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="identifier">vi</span><span class="special">;</span> <span class="comment">// prints [[1, 2, 3], [1, 2, 3]]
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="identifier">vvi</span><span class="special">;</span> <span class="comment">// prints [[1, 2, 3], [1, 2, 3]]
 </span>
 <span class="comment">// associative containers
 </span><span class="identifier">std</span><span class="special">::</span><span class="identifier">map</span><span class="special">&lt;</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">,</span> <span class="keyword">int</span><span class="special">&gt;</span> <span class="identifier">si_map</span><span class="special">;</span>

Modified: sandbox/explore/libs/explore/doc/tutorial.qbk
==============================================================================
--- sandbox/explore/libs/explore/doc/tutorial.qbk (original)
+++ sandbox/explore/libs/explore/doc/tutorial.qbk 2008-04-30 18:37:55 EDT (Wed, 30 Apr 2008)
@@ -39,7 +39,7 @@
    std::vector<std::vector<int> > vvi;
    vvi.push_back(vi);
    vvi.push_back(vi);
- std::cout << vi;
+ std::cout << vvi;
 
 prints
 


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