
26 Apr
2005
26 Apr
'05
10:09 a.m.
if ( is_log_enabled(app) ) app_log() << "testing" << i ...;
don't you think you'd better make it if(!is_log_enabled(app));else app_log() << "testing" << i ...; just in case there is an if / else in the neighborhood
Actually, that's exactly how it's done :) I was just explaining the concept. Best, John -- John Torjo, Contributing editor, C/C++ Users Journal -- "Win32 GUI Generics" -- generics & GUI do mix, after all -- http://www.torjo.com/win32gui/ -v1.6.3 (Resource Splitter) -- http://www.torjo.com/cb/ - Click, Build, Run!