示例#1
0
 inline T    Saturated       ( const T v )
 {    
     return Clamped( v, T{0}, T{1} );
 }
示例#2
0
Clamped &Clamped::operator=(const float x) {
  operator=(Clamped(x));
  return *this;
}