¡@

Home 

c++ Programming Glossary: limitedvalue

Limiting range of value types in C++

http://stackoverflow.com/questions/148511/limiting-range-of-value-types-in-c

range of value types in C Suppose I have a LimitedValue class which holds a value and is parameterized on int types.. can only be in a certain range. You could use it such LimitedValue float 0 360 someAngle 45.0 someTrigFunction someAngle so that.. to exactly equal types though. I'd like to be able to do LimitedValue float 0 90 smallAngle 45.0 LimitedValue float 0 360 anyAngle..