Merge commit '6bd16a0ec91c800000b939e19972ad44f6d79feb' into develop

# Conflicts:
#	doc/boostbook/cpp.xml
#	doc/boostbook/eliminate_runtime_penalty.xml
#	doc/boostbook/exception_policy_concept.xml
#	doc/boostbook/promotion_policy_concept.xml
#	doc/boostbook/safe.xml
#	doc/boostbook/safe_introduction.xml
#	doc/boostbook/safe_numeric_concept.xml
#	doc/boostbook/safe_range.xml
#	doc/boostbook/trap_exception.xml
#	doc/boostbook/tutorial.xml
#	examples/example7.cpp
This commit is contained in:
Robert Ramey
2017-04-08 13:55:54 -07:00
28 changed files with 226 additions and 311 deletions

View File

@@ -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;