mirror of
https://github.com/boostorg/safe_numerics.git
synced 2026-02-21 15:22:14 +00:00
Update example4.cpp
This commit is contained in:
@@ -24,7 +24,7 @@ int main(){
|
||||
std::cout << "error detected!" << std::endl;
|
||||
}
|
||||
|
||||
// solution: replace int with safe<int> and char with safe<char>
|
||||
// solution: replace int with safe<int> and unsigned int with safe<unsigned int>
|
||||
std::cout << "Using safe numerics" << std::endl;
|
||||
try{
|
||||
using namespace boost::numeric;
|
||||
|
||||
Reference in New Issue
Block a user