|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r73019 - sandbox/SOC/2011/checks/boost/checks
From: pierre.talbot.6114_at_[hidden]
Date: 2011-07-12 12:37:57
Author: trademark
Date: 2011-07-12 12:37:56 EDT (Tue, 12 Jul 2011)
New Revision: 73019
URL: http://svn.boost.org/trac/boost/changeset/73019
Log:
Update of the mod11 prototype
Text files modified:
sandbox/SOC/2011/checks/boost/checks/checks_fwd.hpp | 37 +++++++++++++++++--------------------
1 files changed, 17 insertions(+), 20 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-12 12:37:56 EDT (Tue, 12 Jul 2011)
@@ -82,31 +82,28 @@
// Provides forward declaration of all Boost.Checks functions:
- template <class In>
- bool Is_isbn10(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 <class In>
- char isbn10_check_digit(In isbn_begin, In isbn_end);
+ template <typename in>
+ inline char compute_luhn(in &begin, const in &end, unsigned int nbr_digits=0);
- 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_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);
+ template <typename in>
+ 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 Out, typename In>
- inline Out compute_mod11(In &begin, const In &end, unsigned int nbr_digits=0);
+ template <typename in>
+ inline char 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 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);
+ 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