2006-01-06から1日間の記事一覧
参照への参照問題という名のbindの制約 struct SIncrementer2_2 : public binary_function { result_type operator()( first_argument_type rValue, second_argument_type incValue ) const { rValue += incValue; } }; ... for_each( ..., bind2nd( SIncrem…
参照への参照問題という名のbindの制約 struct SIncrementer2_2 : public binary_function { result_type operator()( first_argument_type rValue, second_argument_type incValue ) const { rValue += incValue; } }; ... for_each( ..., bind2nd( SIncrem…