boost::tupleでfusion体験
[]#include[] []<iostream>[]
[]#include[] []<string>[]
[]#include[] []<boost/lambda/lambda.hpp>[]
[]#include[] []<boost/iterator/zip_iterator.hpp>[] []// tuple_impl_specific[]
[]#include[] []<boost/tuple/tuple.hpp>[][]void[] []test[][]()[]
[]{[]
[]namespace[] []bdt[][] = [][]boost[][]::[][]detail[][]::[][]tuple_impl_specific[][];[]
[]namespace[] []bll[][] = [][]boost[][]::[][]lambda[][];[][]boost[][]::[][]tuple[][]<[][]int[][], [][]std[][]::[][]string[][], [][]double[][]> [][]t[][]([][]5[][], [][]"hello, fusion!"[][], [][]4.5[][]);[]
[]bdt[][]::[][]tuple_for_each[][]([][]t[][], [][]std[][]::[][]cout[][] << [][]bll[][]::[][]_1[][] << [][]'\n'[][]);[]
[]}[]