>>806
boost::indirect_iteratorでなんとかなる話?