Boost logo

Boost :

From: John Torjo (john.lists_at_[hidden])
Date: 2004-10-26 13:32:52

>>No matter what, you'll somehow need to do something like:
>>// equivalent of: BOOST_LOG (some_log) << the << things << to << output;
>>if ( is_enabled(some_log))
>> some_log << the << things << to << output;
>>Which to me seems tedious and you can easily forget to write that.
> Yes, something like that is necessary. I also agree that it is
> tedious and easily forgotten. The question is whether there is a
> way to capture that idea in such a way that it cannot be
> forgotten without adding additional overhead or tedium.

I'm certainly open to suggestions ;)
I've thought about it for quite a while, and couldn't come up with a
solution. If any of you has any idea about improving this, please speak


John Torjo,    Contributing editor, C/C++ Users Journal
-- "Win32 GUI Generics" -- generics & GUI do mix, after all
-- v1.5 - tooltips at your fingertips (work for menus too!)
    + bitmap buttons (work for MessageBox too!)
    + tab dialogs, hyper links, lite html

Boost list run by bdawes at, gregod at, cpdaniel at, john at