Boost logo

Boost :

From: Anders Li (illiop.li_at_[hidden])
Date: 2007-06-26 03:16:02


in boost getting started guide, there is an example :

#include <boost/lambda/lambda.hpp>
#include <iostream>
#include <iterator>
#include <algorithm>

int main()
{
    using namespace boost::lambda;
    typedef std::istream_iterator<int> in;

    std::for_each(
        in(std::cin), in(), std::cout << (_1 * 3) << " " );
}

in vs2005, its no problem.

but with VC++6.0(without precompile header), this error occurs:

c:\program files\boost\boost_1_34_0\boost\lambda\detail\lambda_fwd.hpp(26)
: fatal error C1001: INTERNAL COMPILER ERROR
        (compiler file 'msc1.cpp', line 1786)
         Please choose the Technical Support command on the Visual C++
         Help menu, or open the Technical Support help file for more information

how to solve this problem ?

anders


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