
Hi Boris, On Jun 7, 2007, at 12:23 AM, Boris wrote:
On Thu, 07 Jun 2007 09:34:32 +0900, Douglas Gregor
wrote: The code supporting this feature was accidentally disabled for VC++ in Boost 1.33.1. This oversight was fixed in Boost 1.34.0.
Oh, thanks, good to know. Is there anything I can do about it (like setting a preprocessor directive to enable the feature)? Or is it something more difficult to change in the headers? I wonder as while I plan to upgrade to Boost 1.34.0 in the future I'm not yet ready to do so.
It's actually really easy to fix. If you poke through the headers in boost/function and boost/function/detail, you'll find a couple references to a mysterious constant 0x1700 in some BOOST_WORKAROUND uses... change that to "1300" (decimal, not hex) and it should enable this feature. - Doug