|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r73072 - sandbox/SOC/2011/checks/boost/checks
From: pierre.talbot.6114_at_[hidden]
Date: 2011-07-13 17:37:30
Author: trademark
Date: 2011-07-13 17:37:29 EDT (Wed, 13 Jul 2011)
New Revision: 73072
URL: http://svn.boost.org/trac/boost/changeset/73072
Log:
Add of one prototype for the modulus 10.
Deletion of obsolete prototypes.
Text files modified:
sandbox/SOC/2011/checks/boost/checks/checks_fwd.hpp | 11 +++++++----
1 files changed, 7 insertions(+), 4 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-13 17:37:29 EDT (Wed, 13 Jul 2011)
@@ -82,8 +82,8 @@
// Provides forward declaration of all Boost.Checks functions:
- template <typename Out, typename in>
- inline Out 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);
@@ -94,8 +94,8 @@
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);
@@ -105,5 +105,8 @@
template <typename in>
inline char compute_mod10(in &begin, const in &end, unsigned int weight[], unsigned int nbr_digits=0);
+
+ template <typename out, typename in>
+ inline out 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