{"id":6112,"date":"2024-05-03T00:45:39","date_gmt":"2024-05-02T15:45:39","guid":{"rendered":"https:\/\/k.foolslab.net\/dailyreport\/?p=6112"},"modified":"2024-05-03T00:50:53","modified_gmt":"2024-05-02T15:50:53","slug":"2024-5-2","status":"publish","type":"post","link":"https:\/\/k.foolslab.net\/dailyreport\/2024-5-2\/","title":{"rendered":"2024\/5\/2(\u6728)"},"content":{"rendered":"\n<p>\u6700\u8fd1\u672c\u5f53\u306b\u751f\u6d3b\u5168\u822c\u3092\u6539\u5584\u3057\u305f\u304f\u3001\u4ee5\u4e0b\u306e\u3053\u3068\u3092\u8a66\u307f\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6bce\u65e5\u63db\u6c17\u3059\u308b\u3002<\/li>\n\n\n\n<li>\u591c10\u6642\u306b\u306f\u98a8\u5442\u306b\u5165\u308b\u3002<\/li>\n\n\n\n<li>\u4f5c\u696d\u3092\u5834\u6240\u3067\u5206\u3051\u308b\u3002(\u7814\u7a76\u306f\u7814\u7a76\u5ba4\u3001\u8ab2\u984c\u306f\u5927\u5b66\u56f3\u66f8\u9928\u3001\u8da3\u5473\u306f\u81ea\u5ba4\u306a\u3069)<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>cpprefjp\u3092\u8aad\u307f\u9032\u3081\u305f\u3002\u300c\u5f8c\u7f6e\u623b\u308a\u5024\u578b\u3092\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0\u30fc\u306b\u3059\u308b\u3053\u3068\u3092\u8a31\u53ef\u300d\uff5e\u300cnullptr_t\u578b\u306e\u5b9a\u6570\u5f0f\u3092\u975e\u578b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u3059\u308b\u3053\u3068\u3092\u8a31\u53ef\u300d\u307e\u3067\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5f8c\u7f6e\u623b\u308a\u5024\u578b\u3092\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0\u30fc\u306b\u3059\u308b\u3053\u3068\u3092\u8a31\u53ef<\/h3>\n\n\n\n<p>\u4e00\u8aad\u3057\u3066\u4e3b\u65e8\u304c\u3088\u304f\u5206\u304b\u3089\u306a\u304b\u3063\u305f\u304c\u3001\u3061\u3087\u3063\u3068\u8003\u3048\u305f\u3089\u7406\u89e3\u3067\u304d\u305f\u3002\u623b\u308a\u5024\u578b\u63a8\u8ad6\u306b\u95a2\u3057\u3066\u901a\u5e38\u95a2\u6570\u306a\u3089<code>auto<\/code>\u4ee5\u5916\u306b<code>auto&amp;<\/code>\u3068\u304b<code>const auto<\/code>\u307f\u305f\u3044\u306a\u306e\u3082\u884c\u3051\u308b\u3068\u3053\u308d\u3001\u30e9\u30e0\u30c0\u5f0f\u3060\u3068\u5f8c\u7f6e\u3067\u3057\u304b\u66f8\u3051\u306a\u3044\u3002\u306e\u3067\u3001\u5f8c\u7f6e\u3067<code>auto<\/code>\u985e\u304c\u4f7f\u3048\u306a\u3044\u3068\u306a\u308b\u3068\u300c\u4f55\u3082\u66f8\u304b\u305a<code>auto<\/code>\u76f8\u5f53\u306b\u3059\u308b\u300d\u304b\u300c\u578b\u63a8\u8ad6\u3092\u4f7f\u308f\u305a\u5168\u3066\u66f8\u304f\u300d\u3057\u304b\u306a\u304f\u306a\u308b\u3002\u3069\u3046\u3084\u3089\u305d\u306e\u554f\u984c\u306e\u89e3\u6c7a\u7b56\u306e\u3088\u3046\u3060\u3002\u305d\u308c\u306b\u4f34\u3063\u3066\u526f\u6b21\u7684\u306b\u901a\u5e38\u95a2\u6570\u3082\u5f8c\u7f6e\u623b\u308a\u5024\u578b\u3067<code>auto<\/code>\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5ba3\u8a00\u6642\u306e\u30e1\u30f3\u30d0\u521d\u671f\u5316\u3092\u6301\u3064\u578b\u306e\u96c6\u6210\u4f53\u521d\u671f\u5316\u3092\u8a31\u53ef<\/h3>\n\n\n\n<p>\u3048\u30fc\u305d\u308cC++11\u3060\u3068\u901a\u3089\u306a\u304b\u3063\u305f\u306e\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5909\u6570\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8<\/h3>\n\n\n\n<p>\u3082\u3057\u304b\u3057\u305f\u3089\u4e00\u56de\u3082\u4f7f\u3063\u305f\u3053\u3068\u304c\u306a\u3044\u304b\u3082\u3057\u308c\u306a\u3044\u3002\u305f\u3076\u3093\u884c\u3051\u308b\u3093\u3060\u308d\u3046\u3068\u3044\u3046\u610f\u8b58\u306f\u6301\u3061\u3064\u3064\u660e\u78ba\u306b\u3084\u308d\u3046\u3068\u601d\u3063\u305f\u3053\u3068\u304c\u7121\u304b\u3063\u305f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u52d5\u7684\u30e1\u30e2\u30ea\u78ba\u4fdd\u306e\u7701\u7565\u306e\u8a31\u53ef<\/h3>\n\n\n\n<p>\u305d\u3046\u3044\u3046\u6700\u9069\u5316\u306e\u8a31\u53ef\u4e0d\u8a31\u53ef\u3068\u304b\u3082\u4ed5\u69d8\u3067\u6c7a\u307e\u3063\u3066\u308b\u3093\u3060\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30ea\u30c6\u30e9\u30eb\u6f14\u7b97\u5b50\u306e\u30b9\u30da\u30fc\u30b9\u3092\u7701\u7565\u53ef\u80fd\u3068\u3059\u308b<\/h3>\n\n\n\n<p>\u3053\u307e\u3051\uff5e\uff5e\uff01\u305d\u3082\u305d\u3082\u306a\u3093\u3067\u30b9\u30da\u30fc\u30b9\u304c\u5fc5\u8981\u3060\u3063\u305f\u3093\u3060\u308d\u3046\u3002\u305d\u306e\u65b9\u304c\u56fa\u5b9a\u306e\u4e88\u7d04\u8a9e\u3068\u30d7\u30ed\u30b0\u30e9\u30de\u5b9a\u7fa9\u306e\u30b7\u30f3\u30dc\u30eb\u3067\u5206\u3051\u3066\u30d1\u30fc\u30b9\u3057\u3084\u3059\u304b\u3063\u305f\u306e\u304b\u306a\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30e9\u30e0\u30c0\u5f0f\u306e\u521d\u671f\u5316\u30ad\u30e3\u30d7\u30c1\u30e3<\/h3>\n\n\n\n<p>\u3053\u308c\u306f\u4f7f\u3063\u305f\u3053\u3068\u304c\u3042\u308b\u3002\u3068\u3044\u3046\u304b\u305d\u3046\u304b\u3001C++11\u3060\u3068\u4f7f\u3048\u306a\u304b\u3063\u305f\u306e\u304b\u3002\u78ba\u304b\u306b\u66f8\u3044\u3066\u306a\u304b\u3063\u305f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30cd\u30b9\u30c8\u3059\u308b\u96c6\u6210\u4f53\u521d\u671f\u5316\u306b\u304a\u3051\u308b\u6ce2\u30ab\u30c3\u30b3\u7701\u7565\u3092\u8a31\u53ef<\/h3>\n\n\n\n<p>\u3053\u3093\u306a\u4ed5\u69d8\u3042\u3063\u305f\u3093\u3060\u3002\u306a\u3093\u3067array\u306f\u4e8c\u91cd\u6ce2\u304b\u3063\u3053\u306b\u306a\u308b\u3093\u3060\uff1f\u3068\u601d\u3063\u305f\u3051\u3069\u3001\u8981\u3059\u308b\u306b<code>std::array<\/code>\u306e\u5b9f\u88c5\u306f\u666e\u901a\u306b<code>T array&lt;T&gt;::elems[N]<\/code>\u307f\u305f\u3044\u306a\u30e1\u30f3\u30d0\u5909\u6570\u304c\u3042\u308b\u611f\u3058\u306a\u306e\u3067\u3001\u305d\u308c\u306b\u5bfe\u3057\u3066\u5358\u306b\u4fee\u6b63\u4f53\u521d\u671f\u5316\u3092\u3084\u3063\u3066\u308b\u3060\u3051\u306e\u3088\u3046\u3060\u3002<code>initializer_list<\/code>\u3092\u53d7\u3051\u53d6\u308b\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u3092<code>std::array<\/code>\u306b\u5b9f\u88c5\u3059\u308b\u3068\u304b\u3058\u3083\u3044\u304b\u3093\u304b\u3063\u305f\u306e\u304b\uff1f<\/p>\n\n\n\n<p>\u5b9f\u9a13\u3057\u3066\u307f\u305f\u3089\u3001\u69cb\u9020\u4f53\u306e\u4e2d\u306b\u69cb\u9020\u4f53\u3084\u914d\u5217\u304c\u5165\u3063\u3066\u3044\u3066\u3082\u5168\u3066\u306e\u30e1\u30f3\u30d0\u306b\u3064\u3044\u3066\u9806\u306b\u6700\u521d\u304b\u3089\u96c6\u6210\u4f53\u521d\u671f\u5316\u304c\u51fa\u6765\u3066\u3057\u307e\u3046\u3088\u3046\u3060\u3063\u305f\u3002\u3053\u3093\u306a\u3053\u3068\u51fa\u6765\u305f\u306e\u304b\u3002\u305f\u3060\u306e\u69cb\u9020\u4f53\u521d\u671f\u5316\u306b\u898b\u305b\u304b\u3051\u3066\u69cb\u9020\u4f53\u306e\u4e2d\u306e\u69cb\u9020\u4f53\u3084\u914d\u5217\u307e\u3067\u521d\u671f\u5316\u3067\u304d\u308b\u306e\u304b\u306a\u308a\u304d\u3082\u304f\u306a\u3044\u304b\u3068\u3044\u3046\u6c17\u6301\u3061\u304c\u3042\u308b\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b8\u30a7\u30cd\u30ea\u30c3\u30af\u30e9\u30e0\u30c0<a href=\"https:\/\/cpprefjp.github.io\/lang\/cpp14.html\"><\/a><\/h3>\n\n\n\n<p>\u3067\u304d\u308b\u3068\u3044\u3046\u3053\u3068\u306f\u77e5\u3063\u3066\u3044\u308b\u304c\u4e2d\u3005\u4f7f\u308f\u306a\u3044\u3093\u3060\u3088\u306a\u3042\u3002<code>auto<\/code>\u304c\u578b\u63a8\u8ad6\u3067\u306a\u304f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u30b7\u30f3\u30bf\u30c3\u30af\u30b9\u30b7\u30e5\u30ac\u30fc\u306b\u306a\u308b\u306e\u304c\u6c17\u6301\u3061\u60aa\u3044\u3002\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u306b\u30e9\u30e0\u30c0\u5f0f\u3092\u6e21\u3059\u969b\u306b\u4f7f\u3046\u3068\u77ed\u304f\u66f8\u3051\u305f\u308a\u3059\u308b\u304c\u3001\u305d\u308c\u3067\u95a2\u6570\u4e2d\u306e\u30b3\u30fc\u30c9\u3067\u578b\u304c\u5206\u304b\u3089\u306a\u304f\u306a\u308b\u304b\u3089\u4f7f\u3044\u305f\u304f\u306a\u3044\u3088\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b5\u30a4\u30ba\u4ed8\u304d\u30c7\u30a2\u30ed\u30b1\u30fc\u30b7\u30e7\u30f3<\/h3>\n\n\n\n<p>\u6df7\u4e71\u3057\u3066\u3044\u308b\u3002new\u3067\u78ba\u4fdd\u3055\u308c\u305f\u30e1\u30e2\u30ea\u306f\u3001malloc\u3067\u78ba\u4fdd\u3055\u308c\u305f\u30e1\u30e2\u30ea\u304c\u305d\u3046\u3067\u3042\u308b\u3088\u3046\u306b\u30b5\u30a4\u30ba\u60c5\u5831\u3092\u305d\u308c\u81ea\u4f53\u306e\u4e2d\u306b\u306f\u4fdd\u6301\u3057\u306a\u3044\u3082\u306e\u3060\u3068\u601d\u3063\u3066\u3044\u305f\u3002\u304c\u3001\u6319\u52d5\u3092\u898b\u308b\u306b\u660e\u3089\u304b\u306b\u30b5\u30a4\u30ba\u60c5\u5831\u3092\u542b\u3081\u305f\u5206\u306e\u30e1\u30e2\u30ea\u304c\u78ba\u4fdd\u3055\u308c\u3066\u3044\u308b\u3002\u305d\u3057\u3066\u305d\u306e\u30b5\u30a4\u30ba\u60c5\u5831\u304cdelete\u306e\u624b\u306b\u6e21\u3063\u3066\u3053\u306e\u6319\u52d5\u304c\u5b9f\u73fe\u3055\u308c\u3066\u3044\u308b\u3002\u4e00\u4f53\u3069\u3053\u306b\u3053\u3093\u306a\u6319\u52d5\u304c\u898f\u5b9a\u3055\u308c\u3066\u3044\u308b\u3093\u3060\uff1f\uff1f\uff1f<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">nullptr_t\u578b\u306e\u5b9a\u6570\u5f0f\u3092\u975e\u578b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u3059\u308b\u3053\u3068\u3092\u8a31\u53ef<\/h3>\n\n\n\n<p>\u610f\u56f3\u304c\u5206\u304b\u308a\u304b\u306d\u308b\u304c\u3001\u3053\u308c\u306f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u7279\u6b8a\u5316\u3068\u304b\u3092\u60f3\u5b9a\u3057\u3066\u3044\u308b\u306e\u304b\uff1f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u672c\u5f53\u306b\u751f\u6d3b\u5168\u822c\u3092\u6539\u5584\u3057\u305f\u304f\u3001\u4ee5\u4e0b\u306e\u3053\u3068\u3092\u8a66\u307f\u3066\u3044\u308b\u3002 cpprefjp\u3092\u8aad\u307f\u9032\u3081\u305f\u3002\u300c\u5f8c\u7f6e\u623b\u308a\u5024\u578b\u3092\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0\u30fc\u306b\u3059\u308b\u3053\u3068\u3092\u8a31\u53ef\u300d\uff5e\u300cnullptr_t\u578b\u306e\u5b9a\u6570\u5f0f\u3092\u975e\u578b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u3059\u308b\u3053\u3068\u3092\u8a31\u53ef\u300d\u307e\u3067 &hellip; <\/p>\n<div><a href=\"https:\/\/k.foolslab.net\/dailyreport\/2024-5-2\/\" class=\"more\">Read more &raquo;<span class=\"screen-reader-text\"> &#8220;2024\/5\/2(\u6728)&#8221;<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6112","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/6112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/comments?post=6112"}],"version-history":[{"count":7,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/6112\/revisions"}],"predecessor-version":[{"id":6120,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/6112\/revisions\/6120"}],"wp:attachment":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/media?parent=6112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/categories?post=6112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/tags?post=6112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}