[TxMt] boost library

Andre de Boer aajd at xs4all.nl
Sat Oct 15 16:48:17 UTC 2011


Hello,

How can I include the boost library in a c++ program with TextMate?
So I can run programs like using TextMate.

#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) << " " );
}


Thanks for the reaction,
Andre


More information about the textmate mailing list