Boost logo

Boost :

From: John Torjo (john.lists_at_[hidden])
Date: 2004-11-08 05:10:43


>> Just a quick thought that came to my mind...
>>
>> Did you consider using the syntax 'BOOST_LOG(dbg, "message" <<
>> foobar);' instead of 'BOOST_LOG(dbg) << "message" << foobar;'?
>>
>> While I think the syntax you use looks far nicer, we ususally need the
>> ability to be able to compile away the logging calls completely and
>> this only can be done with the first form.
>
>
> a point considered in detail in "Effecient C++" by Bulka & Mayhew
>

Unfortunately I have not read their book.
Just curious, what was their conclusion?

(also, note my other post to Markus)

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.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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk