|
Boost : |
From: Daniel Frey (d.frey_at_[hidden])
Date: 2003-07-18 21:58:22
On Sat, 19 Jul 2003 02:08:24 +0200, Pavel Vozenilek wrote:
> "Peter Dimov" <pdimov_at_[hidden]> wrote in message
> news:005201c34d60$e47afb50$1d00a8c0_at_pdimov2... ...
>> There is currently no BOOST_HAS_CURRENT_FUNCTION since the idealistic
>> goal has been to cover all widely used compilers one day,
> ...
>> On the other hand, perhaps you have a use case that clearly
>> demonstrates
> the
>> need for BOOST_HAS_CURRENT_FUNCTION?
>>
> SMART_ASSERT library implements BOOST_HAS_CURRENT_FUNCTION equivalent
> (it would be ugly to print out the default text).
Log-output again. And look at that workaround they used:
Runtime-checking the values. Isn't that ugly? (No offense intended
to the SMART_ASSERT-folks :)
Even if it's just a small use-case, I am not the only
one who would benefit from BOOST_HAS_CURRENT_FUNCTION.
Regards, Daniel
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk