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

Boost.Graphで騎士の巡回

C++

BoostML - 【BGL】 Knight's Tour Example メモ

oven::filtered

C++

filteredは、引数で指定された述語を満たす要素を抽出するRangeアダプタです。 #include <iostream> #include <vector> #include <pstade/oven/initial_values.hpp> #include <pstade/oven/io.hpp> #include <pstade/oven/filtered.hpp> using namespace pstade::oven; bool is_even(int x) { return x % 2 == 0; } int main() { const std::vector<int> v…</int></pstade/oven/filtered.hpp></pstade/oven/io.hpp></pstade/oven/initial_values.hpp></vector></iostream>

Boost.勉強会の懇親会ページ作りました

C++

http://atnd.org/events/1872