123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #ifndef BOOST_NUMERIC_SAFE_INTEGER_HPP
- #define BOOST_NUMERIC_SAFE_INTEGER_HPP
- #include "checked_integer.hpp"
- #include "checked_result_operations.hpp"
- #include "safe_base.hpp"
- #include "safe_base_operations.hpp"
- #include "native.hpp"
- #include "exception_policies.hpp"
- namespace boost {
- namespace safe_numerics {
- template <
- class T,
- class P = native,
- class E = default_exception_policy
- >
- using safe = safe_base<
- T,
- ::std::numeric_limits<T>::min(),
- ::std::numeric_limits<T>::max(),
- P,
- E
- >;
- }
- }
- #endif
|