Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
生の関数ポインタとboost::bindポインタの戻り値の違いは何ですか?
bindポインターをまったく返しません。関数ポインターとバインドされた引数を含むオブジェクトを、関数のoperator()ように呼び出すために使用できるオーバーロードと共に返します。
bind
operator()
したがって、主な違いは、bind関数の引数にバインドする値が の結果に格納されることです。生のポインターには何も格納されません。