「 if you return a lamba function from a function, you shouldn't use capture-by-reference」 ああ、やっぱり環境を持ち運ぶ事は出来ないのね。ローカル変数の参照を返却したのと同じような問題がある、と

lizylizy のブックマーク 2011/09/09 17:04

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

C++11 - Lambda Closures, the Definitive Guide - Cprogramming.com

    One of the most exciting features of C++11 is ability to create lambda functions (sometimes referred to as closures). What does this mean? A lambda function is a function that you can write inline ...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう