Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:51:35

0001 #ifndef BOOST_NUMERIC_CONCEPT_EXCEPTION_POLICY_HPP
0002 #define BOOST_NUMERIC_CONCEPT_EXCEPTION_POLICY_HPP
0003 
0004 //  Copyright (c) 2015 Robert Ramey
0005 //
0006 // Distributed under the Boost Software License, Version 1.0. (See
0007 // accompanying file LICENSE_1_0.txt or copy at
0008 // http://www.boost.org/LICENSE_1_0.txt)
0009 
0010 namespace boost {
0011 namespace safe_numerics {
0012 
0013 template<class EP>
0014 struct ExceptionPolicy {
0015     const char * message;
0016     /*
0017     BOOST_CONCEPT_USAGE(ExceptionPolicy){
0018         EP::on_arithmetic_error(e, message);
0019         EP::on_undefined_behavior(e, message)
0020         EP::on_implementation_defined_behavior(e, message)
0021         EP::on_uninitialized_value(e, message)
0022     }
0023     */
0024 };
0025 
0026 } // safe_numerics
0027 } // boost
0028 
0029 #endif // BOOST_NUMERIC_CONCEPT_EXCEPTION_POLICY_HPP