Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73881 - sandbox/SOC/2011/checks/boost/checks
From: pierre.talbot.6114_at_[hidden]
Date: 2011-08-18 08:24:28


Author: trademark
Date: 2011-08-18 08:24:28 EDT (Thu, 18 Aug 2011)
New Revision: 73881
URL: http://svn.boost.org/trac/boost/changeset/73881

Log:
Add support for filtering the valid values with their position.
Text files modified:
   sandbox/SOC/2011/checks/boost/checks/basic_checks.hpp | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: sandbox/SOC/2011/checks/boost/checks/basic_checks.hpp
==============================================================================
--- sandbox/SOC/2011/checks/boost/checks/basic_checks.hpp (original)
+++ sandbox/SOC/2011/checks/boost/checks/basic_checks.hpp 2011-08-18 08:24:28 EDT (Thu, 18 Aug 2011)
@@ -28,9 +28,11 @@
   {
     try{
       int current_valid_value = algorithm::traduce_to_valid_value( *seq_begin, valid_value_counter );
+ algorithm::filter_valid_value_with_pos( current_valid_value, valid_value_counter ) ;
       algorithm::operate_on_valid_value( current_valid_value, valid_value_counter, checksum ) ;
       ++valid_value_counter ;
- }catch( boost::checks::traduction_exception ){
+ }
+ catch( boost::checks::traduction_exception ){
     }
   }
   size_contract::respect_size_contract( valid_value_counter );


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