2009-05-01から1日間の記事一覧

Boost.Proto

C++

Boost.ProtoのGetting Startedを簡単に訳して解説してみる。 Boost.ProtoはExpression Templateのライブラリを作るためのライブラリです。 簡単な例を挙げるとこんな感じで使います。 #include <iostream> #include <boost/proto/proto.hpp> using namespace boost::proto; terminal<std::ostream&>::type cou</std::ostream&></boost/proto/proto.hpp></iostream>…