Boost logo

Boost :

From: Marshall Clow (marshall_at_[hidden])
Date: 2000-11-11 12:55:55


> >__FILE_AT_USE and __LINE_AT_USE would allow some better user written tools
>
>>like various improved runtime asserts, so they wouldn't be be totally
>>useless. I'm just trying to provoke thought, not actually present a
>>finished solution.
>
>Accepted, and something like __FUNCTION_NAME__ would be extremely useful
>too!

C9X has a predefined macro named __func__ which names the current function.
Some C++ compilers support it, as well.

-- 
-- Marshall
"The era of big government is over."
           Bill Clinton, State of the Union Address, January 23, 1996
Marshall Clow     MusicMatch   <mailto:mclow_at_[hidden]>

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk