Opened 11 years ago

Closed 9 years ago

#6450 closed Patches (fixed)

Patch to allow user to specify current filename macro

Reported by: Antony Polukhin Owned by: Emil Dotchevski
Milestone: To Be Determined Component: exception
Version: Boost 1.48.0 Severity: Optimization
Keywords: Cc: antoshkka@…

Description (last modified by Emil Dotchevski)

Release revision 85636

Attachments (2)

throw_exception.patch (793 bytes ) - added by Antony Polukhin 11 years ago.
BOOST_THROW_EXCEPTION.patch (3.3 KB ) - added by Antony Polukhin 11 years ago.

Download all attachments as: .zip

Change History (8)

by Antony Polukhin, 11 years ago

Attachment: throw_exception.patch added

by Antony Polukhin, 11 years ago

Attachment: BOOST_THROW_EXCEPTION.patch added

comment:1 by Antony Polukhin, 11 years ago

Description: modified (diff)

comment:2 by Emil Dotchevski, 10 years ago

I'm wondering if it isn't a better solution to change BOOST_CURRENT_FUNCTION so that it can be overridden globally. I can't think of a use case where I'd be worried about code bloat in BOOST_THROW_EXCEPTION but not in other invokations of BOOST_CURRENT_FUNCTION.

in reply to:  2 comment:3 by Antony Polukhin, 10 years ago

Replying to emildotchevski:

I'm wondering if it isn't a better solution to change BOOST_CURRENT_FUNCTION so that it can be overridden globally. I can't think of a use case where I'd be worried about code bloat in BOOST_THROW_EXCEPTION but not in other invokations of BOOST_CURRENT_FUNCTION.

BOOST_CURRENT_FUNCTION is used in boost::shared_ptr, boost::function and other libraries when RTTI is disabled. Changing BOOST_CURRENT_FUNCTION will break those libraries

comment:4 by Emil Dotchevski, 10 years ago

Resolution: fixed
Status: newclosed

BOOST_THROW_EXCEPTION_CURRENT_FUNCTION available in trunk revision 79033.

comment:5 by Antony Polukhin, 9 years ago

Resolution: fixed
Status: closedreopened

Patch still did not make its way to release branch.

comment:6 by Emil Dotchevski, 9 years ago

Description: modified (diff)
Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.