{"id":6271,"date":"2024-05-26T01:46:07","date_gmt":"2024-05-25T16:46:07","guid":{"rendered":"https:\/\/k.foolslab.net\/dailyreport\/?p=6271"},"modified":"2024-05-26T01:46:07","modified_gmt":"2024-05-25T16:46:07","slug":"2024-5-25","status":"publish","type":"post","link":"https:\/\/k.foolslab.net\/dailyreport\/2024-5-25\/","title":{"rendered":"2024\/5\/25(\u571f)"},"content":{"rendered":"\n<p>cpprefjp\u3092\u8aad\u307f\u9032\u3081\u305f\u3002\u4eca\u65e5\u304b\u3089\u30e9\u30a4\u30d6\u30e9\u30ea\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u306b\u79fb\u308b\u3002\u5404\u30d8\u30c3\u30c0\u540d\u524d\u9806\u3067\u306f\u307e\u3068\u307e\u308a\u304c\u306a\u3044\u306e\u3067\u3001\u898f\u683c\u3067\u540d\u524d\u304c\u51fa\u3066\u304f\u308b\u9806\u306b\u8aad\u3080\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Common definitions &#8211; &lt;cstddef><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ptrdiff_t: \u3042\u3093\u307e\u308a\u610f\u8b58\u3057\u305f\u3053\u3068\u304c\u306a\u3044\u304c\u3001\u540d\u524d\u306f\u77e5\u3063\u3066\u3044\u305f\u3002\u30dd\u30a4\u30f3\u30bf\u306e\u5dee\u4ee5\u5916\u306b\u3001\u30a4\u30c6\u30ec\u30fc\u30bf\u306e\u5dee\u3068\u304b\u3082\u8868\u3059\u3053\u3068\u304c\u3042\u308b\u3089\u3057\u3044\u3002<\/li>\n\n\n\n<li>size_t: \u3088\u304f\u4f7f\u3046\u3084\u3064\u3002<\/li>\n\n\n\n<li>nullptr_t: \u3053\u308c\u3082\u3088\u304f\u4f7f\u3046\u3084\u3064\u3002<\/li>\n\n\n\n<li>max_align_t: \u3053\u308c\u306f\u77e5\u3089\u306a\u304b\u3063\u305f\u3002C++11\u304b\u3089\u3089\u3057\u3044\u3002<code>alignf(max_align_t)<\/code>\u4ee5\u5916\u306e\u5f62\u3067\u4f7f\u3046\u3053\u3068\u304c\u3042\u308b\u306e\u304b\uff1f\u305d\u3082\u305d\u3082\u5bfe\u8c61\u3068\u306a\u308b\u30c7\u30fc\u30bf\u578b\u3092\u7279\u5b9a\u305b\u305a\u306b\u6700\u5927\u306e\u30a2\u30e9\u30a4\u30f3\u30e1\u30f3\u30c8\u5024\u3092\u53d6\u308a\u305f\u3044\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9\u304c\u81ea\u5206\u306b\u306f\u601d\u3044\u6d6e\u304b\u3070\u306a\u3044\u304c\u3002<br>\u8abf\u3079\u3066\u307f\u308b\u3068\u30011\u3064\u306e\u4f8b\u3068\u3057\u3066\u306fmalloc\u306e\u5b9f\u88c5\u304c\u3042\u308b\u3089\u3057\u3044\u3002\u4efb\u610f\u306e\u578b\u306b\u5bfe\u3057\u30a2\u30e9\u30a4\u30f3\u30e1\u30f3\u30c8\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/li>\n\n\n\n<li>byte: \u3053\u308c\u306f\u5b58\u5728\u3092\u77e5\u3063\u3066\u3044\u305f\u304c\u3001\u5e38\u306b\u3042\u307e\u308a\u3088\u304f\u8003\u3048\u305a\u9069\u5f53\u306b\u4f7f\u3063\u3066\u3044\u305f\u3002\u3053\u308c\u3067cstddef\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u899a\u3048\u305f\u3002<br>\u3068\u3053\u308d\u3067\u3001operator&lt;&lt;\u3068\u304bto_integer\u307f\u305f\u3044\u306a\u5c0f\u9053\u5177\u304c\u6574\u5099\u3055\u308c\u3066\u3044\u308b\u3089\u3057\u3044\u3002\u305f\u3060\u306eunsigned char\u306e\u30a8\u30a4\u30ea\u30a2\u30b9\u3067\u306f\u306a\u3044\u3002<\/li>\n\n\n\n<li>offsetof: \u3053\u308c\u306f\u4f4e\u30ec\u30a4\u30e4\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3061\u3087\u3053\u3061\u3087\u3053\u4f7f\u3046\u3002<\/li>\n\n\n\n<li>NULL: \u4eca\u306fnullptr\u304c\u3042\u308b\u3002\u3082\u3046\u4e8c\u5ea6\u3068\u65b0\u898f\u306b\u4f7f\u3046\u3053\u3068\u306f\u306a\u3044\u3060\u308d\u3046\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Common definitions &#8211; &lt;cstdlib><\/h3>\n\n\n\n<p>\u4f55\u304c\u5165\u3063\u3066\u3044\u308b\u304b\u3088\u304f\u77e5\u3089\u306a\u3044\u306e\u3067\u3001\u3061\u3083\u3093\u3068\u52c9\u5f37\u3059\u308b\u304d\u3063\u304b\u3051\u306b\u306a\u3063\u305f\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u6570\u5024\u5909\u63db<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>atoi, atol, atoll, atof: \u4e2d\u8eab\u304c\u5b89\u5168\u3060\u3068\u5206\u304b\u3063\u3066\u3044\u308b\u6587\u5b57\u5217\u3067\u3057\u304b\u4f7f\u3063\u3066\u306f\u3044\u3051\u306a\u3044\u3068\u805e\u3044\u305f\u3002atof\u306ff\u306a\u306e\u306bfloat\u578b\u3067\u306f\u306a\u304fdouble\u578b\u3078\u306e\u5909\u63db\u3089\u3057\u3044\u3002float\u304a\u3088\u3073long double\u3078\u306e\u5909\u63db\u306f\u5c11\u306a\u304f\u3068\u3082\u6a19\u6e96\u306b\u306f\u306a\u3044\u3088\u3046\u3060\u3002<\/li>\n\n\n\n<li>strtol, strtoll, strtoul, strtoull, strtof, strtod, strtold: strtoi\u306f\u306a\u3044\u306e\u304b\uff01\u3053\u3044\u3064\u3089\u306f\u30a8\u30e9\u30fc\u3092errno\u3067\u6559\u3048\u3066\u304f\u308c\u308b\u3089\u3057\u3044\u3002\u30b9\u30ec\u30c3\u30c9\u30bb\u30fc\u30d5\u306a\u306e\u304b\u304c\u6c17\u306b\u306a\u3063\u305f\u304c\u3001errno\u3068\u3044\u3046\u4ed5\u7d44\u307f\u306f\u30b9\u30ec\u30c3\u30c9\u30ed\u30fc\u30ab\u30eb\u306a\u306e\u3067\u30bb\u30fc\u30d5\u306a\u3088\u3046\u3060\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u64ec\u4f3c\u4e71\u6570<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>RAND_MAX, srand, rand: \u304a\u99b4\u67d3\u307f\u7591\u4f3c\u4e71\u6570\u751f\u6210\u5668\u3002C++14\u3067\u308f\u3056\u308f\u3056\u975e\u63a8\u5968\u306b\u306a\u3063\u3066\u3044\u305f\u3068\u306f\u77e5\u3089\u306a\u3093\u3060\u3002std::random\u3092\u305d\u3089\u3067\u4f7f\u3048\u308b\u3088\u3046\u306b\u52c9\u5f37\u3057\u3066\u304a\u304d\u305f\u3044\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u30e1\u30e2\u30ea\u7ba1\u7406<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>aligned_alloc<\/code>: \u3053\u3093\u306a\u306e\u3042\u3063\u305f\u306e\u304b\u3002\u3057\u304b\u3082C++17\u304b\u3089\uff01\uff1f<\/li>\n\n\n\n<li>malloc: \u3044\u3064\u3082\u306e<\/li>\n\n\n\n<li>calloc: \u601d\u3046\u306e\u3060\u304c\u3001malloc\u3068memset\u3067\u306f\u3044\u304b\u3093\u306e\u304b\uff1f\u8abf\u3079\u3066\u307f\u308b\u3068\u3001\u30b7\u30b9\u30c6\u30e0\u6b21\u7b2c\u3067calloc\u3067\u306f\u7121\u99c4\u306a\u51e6\u7406\u304c\u306a\u304f\u306a\u3063\u305f\u308a\u3059\u308b\u3089\u3057\u3044\u3002<\/li>\n\n\n\n<li>realloc: \u3042\u3093\u307e\u308a\u660e\u78ba\u306a\u8a18\u8ff0\u304c\u898b\u3064\u3051\u3089\u308c\u306a\u3044\u306e\u3060\u304c\u3001\u3084\u306f\u308a\u3053\u3044\u3064\u306f\u884c\u3051\u305d\u3046\u306a\u3089\u540c\u3058\u5834\u6240\u3067\u9818\u57df\u3092\u62e1\u5f35\u3057\u305f\u308a\u3057\u3088\u3046\u3068\u3059\u308b\u3089\u3057\u3044\u3002<\/li>\n\n\n\n<li><code>free<\/code>: \u3044\u3064\u3082\u306e<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u958b\u59cb\u3068\u7d42\u4e86<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>EXIT_SUCCESS, EXIT_FAILURE: exit\u306e\u5f15\u6570\u3068\u304b\u306b\u6e21\u3059\u3068\u3044\u3044\u3089\u3057\u3044\u3002\u305f\u3057\u304b\u306b0\u3068\u304b\u6570\u5b57\u3067\u306f\u30de\u30b8\u30c3\u30af\u30ca\u30f3\u30d0\u30fc\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u304b\u3089\u3001\u305d\u306e\u70b9\u3067\u306f\u3053\u306e\u65b9\u304c\u826f\u3055\u305d\u3046\u3060\u3002<\/li>\n\n\n\n<li>exit, abort: \u3044\u3064\u3082\u306e<\/li>\n\n\n\n<li>quick_exit: \u3053\u308c\u306f\u5b58\u5728\u3092\u521d\u3081\u3066\u77e5\u3063\u305f\u3002\u6b63\u5e38\u7d42\u4e86\u306a\u306e\u306b\u308f\u3056\u308f\u3056\u30ea\u30bd\u30fc\u30b9\u7834\u68c4\u3092\u98db\u3070\u3059\u7406\u7531\u306f\u306a\u3093\u3060\uff1f\u3068\u601d\u3063\u305f\u304c\u3001\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u3067\u306e\u30ed\u30c3\u30af\u56de\u907f\u304c\u5ff5\u982d\u306b\u3042\u308b\u3088\u3046\u3060\u3002\u7d0d\u5f97\u3002<\/li>\n\n\n\n<li>atexit, at_quick_exit: \u7d42\u4e86\u6642\u306e\u95a2\u6570\u767b\u9332\u3002\u767b\u9332\u3068\u9006\u9806\u3067\u547c\u3073\u51fa\u3055\u308c\u308b\u306e\u306f\u3001Go\u3084Zig\u306edefer\u6587\u3092\u8003\u3048\u308c\u3070\u7d0d\u5f97\u3067\u304d\u308b\u3002\u3057\u304b\u305732\u500b\u3068\u304b\u6700\u4f4e\u4fdd\u8a3c\u6570\u304c\u3061\u3083\u3093\u3068\u3042\u308b\u306e\u306f\u521d\u8033\u3060\u3063\u305f\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u74b0\u5883<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>getenv: \u74b0\u5883\u5909\u6570\u3092\u53d6\u308b\u624b\u6bb5\u304c\u3053\u308c\u3057\u304b\u306a\u3044\u306e\u3067\u3088\u304f\u4f7f\u3063\u3066\u3044\u308b\u3002\u3044\u3044\u52a0\u6e1b\u306b\u3082\u3046\u3061\u3087\u3063\u3068\u73fe\u4ee3\u7684\u306a\u74b0\u5883\u5909\u6570\u306e\u53d6\u5f97\u6cd5\u304c\u6574\u5099\u3055\u308c\u3066\u307b\u3057\u3044\u3002\u4f55\u5ea6\u3082\u30e9\u30c3\u30d1\u3092\u66f8\u3044\u3066\u3044\u308b\u3002<\/li>\n\n\n\n<li>system: \u3044\u3064\u3082\u306e<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u691c\u7d22\u3068\u4e26\u3073\u66ff\u3048<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>bsearch, qsort: \u3053\u306e\u624b\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u95a2\u6570\u304cC\u8a00\u8a9e\u95a2\u6570\u3067\u3061\u3083\u3093\u3068\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u306e\u3092\u3042\u307e\u308a\u3057\u3063\u304b\u308a\u628a\u63e1\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u3002C\u8a00\u8a9e\u306b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u6982\u5ff5\u306f\u306a\u3044\u304c\u30dd\u30a4\u30f3\u30bf\u306f\u5b58\u5728\u3059\u308b\u3002\u8981\u7d20\u306e\u30b5\u30a4\u30ba\u3082\u6bd4\u8f03\u95a2\u6570\u3082\u30e6\u30fc\u30b6\u5b9a\u7fa9\u306a\u306e\u3067\u3001\u5b9f\u8cea\u3069\u3093\u306a\u578b\u306e\u914d\u5217\u3067\u3082\u4e8c\u5206\u63a2\u7d22\/\u30bd\u30fc\u30c8\u304c\u3067\u304d\u308b\u3002\u601d\u3063\u305f\u3088\u308a\u3057\u3063\u304b\u308a\u3057\u3066\u305f\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u6574\u6570\u306b\u5bfe\u3059\u308b\u7b97\u8853\u95a2\u6570<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>abs, labs, llabs: abs\u306f\u3082\u3061\u308d\u3093\u77e5\u3063\u3066\u3044\u305f\u304cl\u3068\u304bll\u304c\u4ed8\u3044\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u3042\u308b\u306e\u306f\u8a8d\u77e5\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u3002\u3057\u304b\u3057\u306a\u305c\u524d\u306b\uff1f<\/li>\n\n\n\n<li>div_t, div, ldiv_t, ldiv, lldiv_t, lldiv: \u3053\u308c\u306f\u672c\u5f53\u306b\u521d\u3081\u3066\u77e5\u3063\u305f\u3002\u5358\u306b\/\u3068%\u3092\u4f7f\u3046\u3088\u308a\u65e9\u3044\u30b1\u30fc\u30b9\u304c\u3042\u308b\u306e\u3060\u308d\u3046\u304b\uff1f<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u30de\u30eb\u30c1\u30d0\u30a4\u30c8\u6587\u5b57\u3068\u30ef\u30a4\u30c9\u6587\u5b57\u306e\u5909\u63db<\/h4>\n\n\n\n<p>codecvt\u3068\u304b\u3044\u3046\u3084\u3064\u304c\u5931\u6557\u4f5c\u3068\u3057\u3066\u6271\u308f\u308c\u3066\u3044\u308b\u306e\u306b\u5bfe\u3057\u3001\u3053\u3044\u3064\u3089\u306f\u3069\u3046\u3057\u3066\u666e\u901a\u306b\u751f\u304d\u3066\u3044\u308b\u3093\u3060\uff1f<\/p>\n\n\n\n<p>\u3042\u304f\u307e\u3067\u5b9f\u88c5\u5b9a\u7fa9\u306e\u5b9f\u884c\u6642\u6587\u5b57\u30b3\u30fc\u30c9\u3067\u3042\u308b\u300c\u30de\u30eb\u30c1\u30d0\u30a4\u30c8\u6587\u5b57\u300d\u3068\u300c\u30ef\u30a4\u30c9\u6587\u5b57\u300d\u306e\u9593\u306e\u5909\u63db\u3067\u3042\u308b\u3053\u3044\u3064\u3089\u3068\u3001Unicode\u3068\u304b\u3078\u306e\u771f\u9762\u76ee\u306a\u5bfe\u5fdc\u3092\u76ee\u6307\u3057\u3066\u3044\u308bcodecvt\u3060\u3068\u8a71\u304c\u9055\u3046\u3068\u3044\u3046\u3053\u3068\u3060\u308d\u3046\u304b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>cpprefjp\u3092\u8aad\u307f\u9032\u3081\u305f\u3002\u4eca\u65e5\u304b\u3089\u30e9\u30a4\u30d6\u30e9\u30ea\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u306b\u79fb\u308b\u3002\u5404\u30d8\u30c3\u30c0\u540d\u524d\u9806\u3067\u306f\u307e\u3068\u307e\u308a\u304c\u306a\u3044\u306e\u3067\u3001\u898f\u683c\u3067\u540d\u524d\u304c\u51fa\u3066\u304f\u308b\u9806\u306b\u8aad\u3080\u3053\u3068\u306b\u3057\u305f\u3002 Common definitions &#8211; &lt;cstdd &hellip; <\/p>\n<div><a href=\"https:\/\/k.foolslab.net\/dailyreport\/2024-5-25\/\" class=\"more\">Read more &raquo;<span class=\"screen-reader-text\"> &#8220;2024\/5\/25(\u571f)&#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-6271","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/6271","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=6271"}],"version-history":[{"count":2,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/6271\/revisions"}],"predecessor-version":[{"id":6275,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/6271\/revisions\/6275"}],"wp:attachment":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/media?parent=6271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/categories?post=6271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/tags?post=6271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}