|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r73185 - sandbox/SOC/2011/checks/libs/checks/example
From: pierre.talbot.6114_at_[hidden]
Date: 2011-07-17 10:55:48
Author: trademark
Date: 2011-07-17 10:55:47 EDT (Sun, 17 Jul 2011)
New Revision: 73185
URL: http://svn.boost.org/trac/boost/changeset/73185
Log:
Add output for the example 3.
Text files modified:
sandbox/SOC/2011/checks/libs/checks/example/modulus_example.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: sandbox/SOC/2011/checks/libs/checks/example/modulus_example.cpp
==============================================================================
--- sandbox/SOC/2011/checks/libs/checks/example/modulus_example.cpp (original)
+++ sandbox/SOC/2011/checks/libs/checks/example/modulus_example.cpp 2011-07-17 10:55:47 EDT (Sun, 17 Jul 2011)
@@ -65,7 +65,6 @@
rtn_number += boost::checks::compute_mod10(rtn_number.begin(), rtn_number.end(), rtn_weight_pattern, 8) ;
- std::cout << rtn_number << std::endl ;
if ( boost::checks::check_mod10( rtn_number.begin(), rtn_number.end(), rtn_weight_pattern, 9) )
std::cout << "The routing transit number (RTN) : " << rtn_number << " is valid." << std::endl ;
@@ -112,6 +111,8 @@
//[checks_modulus_output_3
+The routing transit number (RTN) : 123456780 is valid.
+
//] [/checks_modulus_output_3]
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