id summary reporter owner description type status milestone component version severity resolution keywords cc 12554 boost/core/typeinfo.hpp creates unwanted strings in release binary Lev Sch jsiek "If a program is compiled for a production build then strings are created in program binary. Location where the strings are created: boost/core/typeinfo.hpp -> boost::core::detail::core_typeid_::name -> BOOST_CURRENT_FUNCTION. Current behavior has two drawbacks for a production version of a program: 1. binary program file size become larger 2. code symbols are present in production version of a program Five minutes proposed solution from me is replace function ""name"" by {{{ #!div style=""font-size: 80%"" Code highlighting: {{{#!c++ static char const * name() { #ifdef NDEBUG return """"; #else return BOOST_CURRENT_FUNCTION; #endif } }}} }}} Sorry for English... Thank you for attention." Bugs new Website 1.X tokenizer Boost 1.62.0 Optimization