Opened 11 years ago

Last modified 9 years ago

#6450 closed Patches

Patch to allow user to specify current filename macro — at Initial Version

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

When or BOOST_THROW_EXCEPTION used, compiler generates a string with function name. If a function is templated, compiler will generate a string for each function template. That leads to a huge binary files.

Attached patch, that allows to disable construction of such strings or to use different macro for current function name (for example macro that prints ONLY function name).

More info

Change History (2)

by Antony Polukhin, 11 years ago

Attachment: throw_exception.patch added

by Antony Polukhin, 11 years ago

Attachment: BOOST_THROW_EXCEPTION.patch added
Note: See TracTickets for help on using tickets.