??? 05/25/06 17:50 Read: times |
#117109 - how about just plain ugle code? Responding to: ???'s previous message |
FOR_ALL_CONST( handler_map_t, i, this->handlers, { const handler_t & h = i->second; if( FD_ISSET( i->first, &fds ) ) h.handler( i->first, h.priv ); } ); I came across this in some open source code I was perusing. Gotta love the if (function call) within another function call :-o needless to say, I did NOT use this code |