
26 Apr
2005
26 Apr
'05
10:23 a.m.
And you need to
1. #include <something> 2. Compile the 'if', and the operators<<, and what not.
Consider that I want to add logging to a header-only library, say some BGL. algorithm I don't want all users of BGL to depend on a logging library. They just should be able to #define BOOST_GRAPH_SOME_ALGORITH_LOGGING and get logging for the specified algorithm -- only if needed.
See my other post to Darren. Is this what you mean? 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!