D
Dai Kane
Am experimenting with some range-bound numeric class thingy, and now
wondering this situation:
int a = 10;
myclass b(6);
if ( a > b )
{
...
}
What kind of a operator thingy I need to construct for that to work,
if it's at all possible? And if it's possible... please post the
construct, as I'm rather tired to hunt rarely/"almost-never-used"
stuff with google. Anyway, thanks in advance for answer(s)
wondering this situation:
int a = 10;
myclass b(6);
if ( a > b )
{
...
}
What kind of a operator thingy I need to construct for that to work,
if it's at all possible? And if it's possible... please post the
construct, as I'm rather tired to hunt rarely/"almost-never-used"
stuff with google. Anyway, thanks in advance for answer(s)