miscelleanous corrections

This commit is contained in:
Robert Ramey
2017-03-06 09:19:14 -08:00
parent 1d7712e1b7
commit 5715f5126d
14 changed files with 418 additions and 259 deletions

View File

@@ -28,7 +28,7 @@ int main(int argc, const char * argv[]){
std::cout << "Using safe numerics" << std::endl;
try{
using namespace boost::numeric;
safe<int> x = 127;
safe<int> x = INT_MAX;
safe<int> y = 2;
safe<int> z;
// rather than producing and invalid result an exception is thrown