Boost

行単位で読み込む input_iterator

行単位で読み込むinput_iteratorが見つからなかったので自作してみた。 なんかBoostのライブラリを組み合わせればできるような気もするけど。 #include <string> #incldue <iostream> #include <iterator> #include <boost/iterator/iterator_facade.hpp> template<typename CharType, typename Traits = std::char_traits<CharType> > class basic_istream_line_iterator : public b…</typename></boost/iterator/iterator_facade.hpp></iterator></iostream></string>