{"author_url":"https://blog.hatena.ne.jp/yohhoy/","published":"2023-03-08 00:00:00","categories":["C++","C++2b","C++2c"],"blog_url":"https://yohhoy.hatenadiary.jp/","width":"100%","description":"C++2b(C++23)\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u8ffd\u52a0\u3055\u308c\u308b\u591a\u6b21\u5143\u30d3\u30e5\u30fcstd::mdspan\u30af\u30e9\u30b9\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\uff08\u2192id:yohhoy:20230303\uff09\u306e\u3001\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u3068\u63a8\u8ad6\u30ac\u30a4\u30c9(deduction guide)\u306b\u3088\u308b\u5b9f\u5f15\u6570\u30af\u30e9\u30b9\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u63a8\u8ad6(CTAD; Class Template Argument Deduction)\u306e\u3042\u308c\u3053\u308c\u3002mdspan\u578b\u306b\u304a\u3051\u308b\u6b21\u5143\u60c5\u5831std::extents<I, En...>\u3067\u306f\u3001\u5404\u6b21\u5143\u306e\u8981\u7d20\u6570(En)\u306f\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u5b9a\u6570\uff0f\u5b9f\u884c\u6642\u52d5\u7684\u6307\u5b9a(std::dynamic_extent)\u306e\u3044\u305a\u308c\u304b\u3068\u306a\u308b\u3002\u307b\u3068\u3093\u3069\u306eCTAD*1\u3067\u306f\u52d5\u7684\u30b5\u30a4\u30ba(std::dextents<I\u2026","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20230308%2Fp1\" title=\"std::mdspan\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u3068CTAD - yohhoy\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","height":"190","image_url":null,"author_name":"yohhoy","blog_title":"yohhoy\u306e\u65e5\u8a18","title":"std::mdspan\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u3068CTAD","type":"rich","url":"https://yohhoy.hatenadiary.jp/entry/20230308/p1","version":"1.0"}