|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r73946 - sandbox/SOC/2011/checks/libs/checks/doc
From: pierre.talbot.6114_at_[hidden]
Date: 2011-08-20 10:06:54
Author: trademark
Date: 2011-08-20 10:06:54 EDT (Sat, 20 Aug 2011)
New Revision: 73946
URL: http://svn.boost.org/trac/boost/changeset/73946
Log:
Split into 2 sections.
Text files modified:
sandbox/SOC/2011/checks/libs/checks/doc/tutorial.qbk | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
Modified: sandbox/SOC/2011/checks/libs/checks/doc/tutorial.qbk
==============================================================================
--- sandbox/SOC/2011/checks/libs/checks/doc/tutorial.qbk (original)
+++ sandbox/SOC/2011/checks/libs/checks/doc/tutorial.qbk 2011-08-20 10:06:54 EDT (Sat, 20 Aug 2011)
@@ -6,7 +6,7 @@
(See accompanying file LICENSE_1_0.txt
or copy at http://www.boost.org/LICENSE_1_0.txt)
]
-[section Tutorial]
+[section:tutorial Tutorial]
[import ..\example\checks_examples.cpp]
In this section, we will quickly learn to use this library. But most important is the following quote of Lao Tseu :
@@ -14,9 +14,9 @@
So we'll learn to extend this library and create our own check functions.
-[h4 Starting with Checks]
+[section:start Starting with Checks]
-There are two main functions for each checks, the first is to validate a sequence: '''"check_<number>'''". The second provides a check digit: '''"compute_<number>"'''.
+There are two main functions for each checks, the first is to validate a sequence: `check_<number>`. The second provides a check digit: `compute_<number>`.
This is the base of this library.
[h5 Credit card numbers check]
@@ -85,7 +85,8 @@
[checks_output_4]
-[h4 Extending the library]
+[endsect]
+[section:extending_the_library Extending the library]
The re-usability of a library is an important factor, especially with this library.
In fact, we can't code every existing check functions, this is why we will learn how
@@ -168,6 +169,6 @@
typedef boost::checks::rightmost vin_sense ;
``
-
+[endsect]
[endsect]
\ No newline at end of file
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