{"width":"100%","author_url":"https://blog.hatena.ne.jp/potisan/","url":"https://potisan-programming-memo.hatenablog.jp/entry/2022/05/22/015013","published":"2022-05-22 01:50:13","height":"190","provider_name":"Hatena Blog","author_name":"potisan","description":"C++23\u3067\u306fstd::optional\u306band_then\u3001or_else\u3001transform\u304c\u5c0e\u5165\u3055\u308c\u308b\u305d\u3046\u3067\u3059\u3002 and_then\u306fstd::optional\u304c\u6709\u52b9\u5024\u306e\u5834\u5408\u306b\u5909\u63db\u51e6\u7406\u3092\u5b9f\u884c\u3057\u305f\u7d50\u679c\u3092\u8fd4\u3057\u307e\u3059\u3002or_else\u306fstd::optional\u304c\u7121\u52b9\u5024\u306e\u5834\u5408\u306b\u5909\u63db\u51e6\u7406\u3092\u5b9f\u884c\u3057\u305f\u7d50\u679c\u3092\u8fd4\u3057\u307e\u3059\u3002\u3044\u305a\u308c\u3082\u5909\u63db\u51e6\u7406\u306fstd::optional\u3092\u8fd4\u3059\u3053\u3068\u304c\u5f37\u5236\u3055\u308c\u307e\u3059\u3002transform\u306fand_then\u3068\u4f3c\u305f\u3088\u3046\u306b\u52d5\u4f5c\u3057\u307e\u3059\u304c\u3001\u5909\u63db\u51e6\u7406\u306e\u7d50\u679c\u306f\u81ea\u52d5\u3067std::optional\u306b\u5909\u63db\u3055\u308c\u307e\u3059\u3002 #include <optional> int main() { std::optional<in\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2022%2F05%2F22%2F015013\" title=\"C++23 std::optional\u306eand_then\u3001or_else\u3001transform - potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2","categories":["C++","\u307e\u3068\u3081\u672a\u767b\u9332\uff08\u7ba1\u7406\u7528\uff09"],"version":"1.0","type":"rich","blog_url":"https://potisan-programming-memo.hatenablog.jp/","title":"C++23 std::optional\u306eand_then\u3001or_else\u3001transform","image_url":null,"provider_url":"https://hatena.blog"}