JH>// BOOLEAN.H
JH>enum boolean{false, true};
JH>inline boolean operator!(boolean bState)
JH>{ return (bState == true ? false : true); }
HS> That would be pretty useless. So much overhead for a little boolean
HS> variable.
Looks to me that with any half decent compiler, the "overhead"
would be nothing at all. Of course if your compiler can't handle even
the most simple of inline functions like the above, then overhead
could be quite significant.
---
þ Blue Wave/QWK v2.12 þ
---------------
* Origin: St. Louis Users Group (1:100/4)
|