2009-10-07から1日間の記事一覧

oven::constants

C++

constantsは、範囲をconst Rangeに変換するRangeアダプタです。 C++0xで各コンテナに追加されるcbegin/cendのように 範囲を変更しないことを表明するために使用できます。 #include <iostream> #include <vector> #include <algorithm> #include <boost/range.hpp> #include <pstade/oven/initial_values.hpp> #include <pstade/oven/constants.hpp> using namespace pst</pstade/oven/constants.hpp></pstade/oven/initial_values.hpp></boost/range.hpp></algorithm></vector></iostream>…