documentation updates for improved exception/error management

This commit is contained in:
Robert Ramey
2017-06-03 13:58:48 -07:00
parent 4a8c7c31d8
commit 6f0710109c
28 changed files with 1162 additions and 851 deletions

View File

@@ -1,12 +1,12 @@
#include <iostream>
#include "../include/safe_integer.hpp"
#include "../include/exception.hpp" // include exception policies
#include "../include/exception_policies.hpp" // include exception policies
using safe_t = boost::numeric::safe<
int,
boost::numeric::native,
boost::numeric::trap_exception // note use of "trap_exception" policy!
boost::numeric::loose_trap_policy // note use of "loose_trap_exception" policy!
>;
int main(int argc, const char * argv[]){