Merge branch 'master' of github.com:BitShares/fc
This commit is contained in:
commit
e99b4ffea5
1 changed files with 4 additions and 0 deletions
|
|
@ -22,6 +22,10 @@ namespace fc {
|
||||||
safe(){}
|
safe(){}
|
||||||
safe( const safe& o ):value(o.value){}
|
safe( const safe& o ):value(o.value){}
|
||||||
|
|
||||||
|
static safe max()
|
||||||
|
{ return std::numeric_limits<T>::max(); }
|
||||||
|
static safe min()
|
||||||
|
{ return std::numeric_limits<T>::min(); }
|
||||||
|
|
||||||
safe& operator += ( const safe& b )
|
safe& operator += ( const safe& b )
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue