std::optional<T> を Rust・Scala と比較する 2026年5月18日 C++17で新たに追加されたstd::optional<T>をRust・ScalaのOptionと比較して解説します #cpp #optional #Rust