- 482 名前:デフォルトの名無しさん mailto:sage [2010/01/16(土) 17:54:09 ]
- >>481
その目的なら比較関数オブジェクトを渡してやればいいと思うけど、 ↓みたいなのじゃなくでBoost.Bindを使う意味はあるの? struct comp { typedef boost::tuples::tuple<std::string, int, int> tuple_t; bool operator()(tuple_t const& lhs, tuple_t const& rhs) const { return lhs.get<0>( ) < rhs.get<0>( ); } };
|

|