2008-05-18から1日間の記事一覧

boost::lambda::bind(

etc

Mirosoft Visual StudioにはIntellisenseというものがあります.候補を一覧表示してくれるのです. std::sort(候補1: void sort(_RanIt _First, _RanIt _Last, _Pr _Pred); 候補2: void sort(_RanIt _First, _RanIt _Last); みたいな. すごく便利なのですが…

前のやつできました.

これの下のバージョンができました. http://d.hatena.ne.jp/graighle/20080511/1210536299 #include <iostream> #include <map> #include <vector> #include <algorithm> #include <boost/bind.hpp> // イテレータの指す先を返す template<class IT> struct unref : std::unary_funtion<IT, typename std::iterator_traits<IT>::value_type> { const typ…</it,></class></boost/bind.hpp></algorithm></vector></map></iostream>