Subject: Re: [boost] [assert] [exception] Fast output binary file size growth
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2012-01-25 15:18:14
On Wed, Jan 25, 2012 at 9:10 AM, Antony Polukhin <antoshkka_at_[hidden]> wrote:
> 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.
Reverge Studios, Inc.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk