Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73836 - sandbox/SOC/2011/checks/boost/checks
From: pierre.talbot.6114_at_[hidden]
Date: 2011-08-16 20:18:23


Author: trademark
Date: 2011-08-16 20:18:22 EDT (Tue, 16 Aug 2011)
New Revision: 73836
URL: http://svn.boost.org/trac/boost/changeset/73836

Log:
Update the forward declaration of mod97_10. Use output iterator for the checkdigits.
Text files modified:
   sandbox/SOC/2011/checks/boost/checks/checks_fwd.hpp | 14 ++++++++++++++
   1 files changed, 14 insertions(+), 0 deletions(-)

Modified: sandbox/SOC/2011/checks/boost/checks/checks_fwd.hpp
==============================================================================
--- sandbox/SOC/2011/checks/boost/checks/checks_fwd.hpp (original)
+++ sandbox/SOC/2011/checks/boost/checks/checks_fwd.hpp 2011-08-16 20:18:22 EDT (Tue, 16 Aug 2011)
@@ -61,6 +61,7 @@
 #include <boost/checks/luhn.hpp>
 #include <boost/checks/verhoeff.hpp>
 #include <boost/checks/modulus11.hpp>
+#include <boost/checks/modulus97.hpp>
 
 namespace boost{
   namespace checks{
@@ -107,6 +108,19 @@
 template <typename check_range>
 typename boost::checks::mod11_compute_algorithm::checkdigit<check_range>::type compute_modulus11 (const check_range& check_seq) ;
 
+// Modulus 97-10 (ISO/IEC 7064:2003)
+
+template <size_t size_expected, typename check_range>
+bool check_mod97_10 (const check_range& check_seq) ;
+
+template <typename check_range>
+bool check_mod97_10 (const check_range& check_seq) ;
+
+template <size_t size_expected, typename check_range, typename checkdigits_iter>
+typename checkdigits_iter compute_mod97_10 (const check_range& check_seq, checkdigits_iter mod97_checkdigits) ;
+
+template <typename check_range, typename checkdigits_iter>
+typename checkdigits_iter compute_mod97_10 (const check_range& check_seq, checkdigits_iter mod97_checkdigits) ;
 
 }}
 #endif \\ BOOST_CHECK_CHECKS_FWD_HPP
\ 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