diff --git a/include/fc/safe.hpp b/include/fc/safe.hpp index bb86a71..0c1a12e 100644 --- a/include/fc/safe.hpp +++ b/include/fc/safe.hpp @@ -22,6 +22,10 @@ namespace fc { safe(){} safe( const safe& o ):value(o.value){} + static safe max() + { return std::numeric_limits::max(); } + static safe min() + { return std::numeric_limits::min(); } safe& operator += ( const safe& b ) {