C++でラムダ・クラス
C++の設計と進化を読んで。 感動した。 Lambda x; list<int>::iterator p = find_if(lst.begin(), lst.end(), x < 7); で、Lamb …
C++の設計と進化を読んで。 感動した。 Lambda x; list<int>::iterator p = find_if(lst.begin(), lst.end(), x < 7); で、Lamb …
RubyのprotectedはJavaやC++とは違うことは、意外と知られていないようです。 Ruby の protected は Java, C++ とは意味が違います。 Ruby の protected を使うと、サ …