
25 Jan
2012
25 Jan
'12
8:18 p.m.
On Wed, Jan 25, 2012 at 9:10 AM, Antony Polukhin <antoshkka@gmail.com> wrote:
Greetings,
When BOOST_ENABLE_ASSERT_HANDLER is defined 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.
I'm interested to see your patch, but in general you don't need to throw from meta-generated function templates, you could move the throw in a separate function. Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode