Matsuura Tomoya(Windows)
2698f011f6
All checks were successful
Build / build (push) Successful in 8m18s
853 B
853 B
#scrap #memo
uiuaのドキュメントに貼ってあったもの
You’ll also find when encountering a new syntax that you will immediately not understand, and instead wish for something much simpler. Non-C++ programers, for example, will raise an eyebrow at the following snippet:
[&,=foo](auto&& item) mutable -> int { return item + foo.bar(something); }
I remember my first encounter with C++ lambdas, and I absolutely hated the syntax. It was foreign and unfamiliar, but other than that, my complaints stopped. I could have said “This is confusing,” but after having written C++ lambda expressions for years the above syntax has become second nature and very intuitive. Do not confuse familiarity with simplicity.