1234567891011121314151617181920212223242526 |
- #ifndef BOOST_NUMERIC_CONCEPT_NUMERIC_HPP
- #define BOOST_NUMERIC_CONCEPT_NUMERIC_HPP
- #include <limits>
- namespace boost {
- namespace safe_numerics {
- template<class T>
- struct Numeric {
- constexpr static bool value = std::numeric_limits<T>::is_specialized;
- constexpr operator bool (){
- return value;
- }
- };
- }
- }
- #endif
|