From: Doug Gregor (dgregor_at_[hidden])
Date: 2006-07-10 15:48:20
On Jul 10, 2006, at 2:25 PM, Allen Bierbaum wrote:
> The following code snippet:
> #include <boost/function.hpp>
> class TestClass
> void doSomethingDefault(boost::function2<void, bool, bool>
> int main()
> TestClass test;
> return 1;
> Gives an internal compiler error on vc 7.1:
> Is there something incorrect with my usage? If not, is this an known
> issue? I searched through the bug tracker and the mailing lists but
> not see anything about this bug.
Your code looks fine... I've never seen this bug before.
> Does anyone have any ideas on how to work around this bug?
Can you just use "= 0" for the default value?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk