Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72970 - sandbox/SOC/2011/checks/boost/checks
From: pierre.talbot.6114_at_[hidden]
Date: 2011-07-08 12:22:28


Author: trademark
Date: 2011-07-08 12:22:26 EDT (Fri, 08 Jul 2011)
New Revision: 72970
URL: http://svn.boost.org/trac/boost/changeset/72970

Log:
Update of forward declarations
Text files modified:
   sandbox/SOC/2011/checks/boost/checks/checks_fwd.hpp | 16 +++++++++++++++-
   1 files changed, 15 insertions(+), 1 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-07-08 12:22:26 EDT (Fri, 08 Jul 2011)
@@ -88,11 +88,25 @@
     template <class In>
     char isbn10_check_digit(In isbn_begin, In isbn_end);
 
+ template <typename Out, typename In>
+ inline Out compute_luhn(In &begin, const In &end, unsigned int nbr_digits=0);
+
+ template <typename In>
+ inline char compute_luhn(In &begin, const In &end, unsigned int nbr_digits=0);
+
     template <typename In>
     inline bool check_luhn(In &begin, const In &end, unsigned int nbr_digits=0);
         
     template <typename In>
- inline bool check_mod11(In &begin, const In end, unsigned int nbr_digits=0);
+ inline bool check_mod11(In &begin, const In &end, unsigned int nbr_digits=0);
+
+ template <typename Out, typename In>
+ inline Out compute_mod11(In &begin, const In &end, unsigned int nbr_digits=0);
+
+ template <typename In>
+ inline bool check_mod10(In &begin, const In &end, unsigned int weight[], unsigned int nbr_digits=0);
 
+ template <typename In>
+ inline char compute_mod10(In &begin, const In &end, unsigned int weight[], unsigned int nbr_digits=0);
   }
 }
\ 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