Files
safe_numerics/test/test_z.cpp
Robert Ramey d33389c450 converted test_conversion to
test_construction
test_assignment

pending - make m_t private
eliminate redundant bounds checking
2015-06-28 21:24:04 -07:00

14 lines
271 B
C++

#include <iostream>
#include "../include/safe_integer.hpp"
int main(){
try{
using namespace boost::numeric;
safe<int> x;
safe<char> y3 = x;
}
catch(std::exception & e){
std::cout << e.what() << std::endl;
}
return 0;
}