Boost logo

Boost :

From: Brock Peabody (brock.peabody_at_[hidden])
Date: 2004-03-27 14:14:18


I've found an odd bug with vc 7.1 and lambda:

   namespace {

      struct test_struct {

         int b;
      };

      void f() {

         namespace ll = boost::lambda;

         ll::bind(&test_struct::b, ll::_1);
      }
   }

If I try to compile this code vc 7.1 will rapidly chew up all available
memory until it runs out. I'm not sure if it will ever finish or not. If
you remove test_struct from the anonymous namespace it compiles just fine.
I've never seen vc 7.1 do this before. Any ideas?

Thanks,
Brock


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk