Opened 11 years ago
Last modified 10 years ago
#6451 new Patches
Patch to allow user to specify other current filename macro on ASSERT
Reported by: | Antony Polukhin | Owned by: | Beman Dawes |
---|---|---|---|
Milestone: | To Be Determined | Component: | utility |
Version: | Boost 1.48.0 | Severity: | Optimization |
Keywords: | Cc: | antoshkka@… |
Description
When BOOST_ENABLE_ASSERT_HANDLER is defined, 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).
Attachments (3)
Change History (6)
by , 11 years ago
Attachment: | assert.hpp added |
---|
by , 11 years ago
Attachment: | assert.html.patch added |
---|
by , 11 years ago
Attachment: | assert.hpp.patch added |
---|
comment:1 by , 11 years ago
comment:2 by , 10 years ago
Summary: | Patch to allow user to specify other current filename macro → Patch to allow user to specify other current filename macro on ASSERT |
---|
comment:3 by , 10 years ago
Owner: | changed from | to
---|
Note:
See TracTickets
for help on using tickets.
assert.hpp - patched version
assert.hpp.patch - patch for trunk version
assert.html.patch - patch for documentation