Rustでできたかどうかわからんけど最近のC++こういうのできるようになったのでWebAPIとかのパラメータ処理楽になるかな?とか考えてる
https://cpprefjp.github.io/lang/cpp17/structured_bindings.html
Rustでできたかどうかわからんけど最近のC++こういうのできるようになったのでWebAPIとかのパラメータ処理楽になるかな?とか考えてる
https://cpprefjp.github.io/lang/cpp17/structured_bindings.html
@S_H_ これはRustでもパターンマッチでできますねー。
あー、やっぱりできますかー
@S_H_ 今時の言語でできるやつをC++に導入した感じあります(こういうのを、C++の言語体型壊さずに徐々に入れていくところがC++の良さというか凄さだなあ、と思っています)
ふむふむ。
こういう元々のC++を残しつつ改善してくのは確かにいいですねー
senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.
All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.