2012-06-04から1日間の記事一覧

複数のファイルを1つの Range として扱いたい

C++

PStade.Oven とかを使って下記のようなコードになりました。 [ソース] #define BOOST_RESULT_OF_USE_DECLTYPE #include <iostream> #include <string> #include <vector> #include <fstream> #include <iterator> #include <boost/range/adaptor/transformed.hpp> #include <pstade/oven/concatenated.hpp> #include <pstade/oven/copied.hpp> int ma…</pstade/oven/copied.hpp></pstade/oven/concatenated.hpp></boost/range/adaptor/transformed.hpp></iterator></fstream></vector></string></iostream>