std::ref ― 2015/10/19 19:47
なるほど。変数からリファレンスを作れるのですか?なかなか、面白そうですね。
std::ref, std::cref
http://en.cppreference.com/w/cpp/utility/functional/ref
std::reference_wrapper
http://en.cppreference.com/w/cpp/utility/functional/reference_wrapper
なるほど。変数からリファレンスを作れるのですか?なかなか、面白そうですね。
std::ref, std::cref
http://en.cppreference.com/w/cpp/utility/functional/ref
std::reference_wrapper
http://en.cppreference.com/w/cpp/utility/functional/reference_wrapper
コメントをどうぞ
※メールアドレスとURLの入力は必須ではありません。 入力されたメールアドレスは記事に反映されず、ブログの管理者のみが参照できます。
※なお、送られたコメントはブログの管理者が確認するまで公開されません。
※投稿には管理者が設定した質問に答える必要があります。