{"id":1753,"date":"2009-09-05T22:50:00","date_gmt":"2009-09-05T13:50:00","guid":{"rendered":"https:\/\/hdmr.org\/d\/?e=483"},"modified":"2009-09-05T22:50:00","modified_gmt":"2009-09-05T13:50:00","slug":"blogn-483","status":"publish","type":"post","link":"https:\/\/hdmr.org\/d\/?e=483","title":{"rendered":"\u7834\u58ca\u7684\u30b3\u30d4\u30fc\u306f\u901f\u304b\u3063\u305f\u3001unique_ptr\u3082\u901f\u304b\u3063\u305f"},"content":{"rendered":"<p>\u4eca\u65e5\u306f\u660e\u65e5\u306e\u30c1\u30a7\u30c3\u30af\u3092\u3057\u306a\u304c\u3089\u3001\u5b9f\u9a13\u3092\u3057\u3066\u3044\u305f\u3002<br \/>\u305d\u308c\u306fC++0x\u3067\u5c0e\u5165\u3055\u308c\u305f\u53f3\u8fba\u5024\u53c2\u7167\u306e\u6027\u80fd\u306b\u3064\u3044\u3066\u3002(\u53c2\u8003\u8a18\u4e8b : <a href=\"http:\/\/libserver.ddo.jp\/fdiary\/index.php?e=464\">C++0x\u306e\u5316\u3051\u7269\u3058\u307f\u305f\u53f3\u8fba\u5024\u53c2\u7167<\/a>)<br \/>\u3053\u308c\u306f\u7d50\u69cb\u91cd\u8981\u306a\u3053\u3068\u3067\u3059\u3002<\/p>\n<hr \/>\n<p>C++\u306e\u30e1\u30e2\u30ea\u306e\u78ba\u4fdd\u306e\u4ed5\u65b9\u306b\u306f\u30b9\u30bf\u30c3\u30af\u3068\u30d2\u30fc\u30d7\u304c\u3042\u3063\u3066\u3001\u3068\u3044\u3046\u306e\u306fC\u3068\u540c\u3058\u3053\u3068\u3067\u3059\u306d\u3002<\/p>\n<pre>int x[100];<br \/>int* y=new int[100]; \/\/\u5f8c\u3067delete[] y;\u3092\u304a\u5fd8\u308c\u7121\u304f<\/pre>\n<p>\u3069\u3061\u3089\u3082\u5927\u304d\u3055100\u306eint\u578b\u914d\u5217\u3092\u4f5c\u3063\u3066\u3044\u308b\u304c\u4f5c\u3063\u3066\u3044\u308b\u5834\u6240\u304c\u9055\u3046\u3068\u3044\u3046\u306e\u304c\u30dd\u30a4\u30f3\u30c8\u3002<br \/>\u524d\u8005\u306f\u9759\u7684\u306b\u4f5c\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u308c\u306f\u4f5c\u3089\u308c\u308b\u5834\u6240\u306f\u30b9\u30bf\u30c3\u30af\u3067\u3059\u3002<br \/>\u30b9\u30bf\u30c3\u30af\u306f\u8a00\u3046\u305f\u3089\u30b9\u30b3\u30fc\u30d7\u306e\u4e2d\u306e\u30e1\u30e2\u7528\u7d19\u307f\u305f\u3044\u306a\u3082\u3093\u3067\u3059\u308f\u3002<br \/>\u306a\u306e\u3067\u30b9\u30b3\u30fc\u30d7\u3092\u51fa\u308b\u3068\u7834\u68c4\u3055\u308c\u3061\u3083\u3044\u307e\u3059\u3002\u304c\u3001\u78ba\u4fdd\u306f\u8d85\u9ad8\u901f\u3067\u6c17\u306b\u3059\u308b\u5fc5\u8981\u306a\u3057\u3002<br \/>\u4e00\u65b9\u3001\u30d2\u30fc\u30d7\u306f\u30b9\u30b3\u30fc\u30d7\u3092\u51fa\u3066\u3082\u7834\u68c4\u3055\u308c\u306a\u3044\u3001\u3053\u308c\u306f\u7834\u68c4\u306f\u81ea\u5206\u3067\u884c\u3046\u304b\u3089\u3002<br \/>\u305d\u306e\u4e00\u65b9\u3067\u30e1\u30e2\u30ea\u306e\u78ba\u4fdd\u30fb\u7834\u68c4\u306f\u3061\u3087\u3063\u3068\u30b3\u30b9\u30c8\u304c\u304b\u304b\u308b\u3002\u3053\u308c\u304c\u554f\u984c\u3002<br \/>\u305d\u306e\u305f\u3081\u50d5\u304cC\u3092\u6388\u696d\u3067\u7fd2\u3063\u305f\u3068\u304d\u306f\u30d2\u30fc\u30d7\u304b\u3089\u306e\u78ba\u4fdd\u306f\u3084\u3089\u306a\u304b\u3063\u305f\u308f\u3051\u3060\u3002<br \/>\u307e\u3041\u3053\u308c\u306f\u6b63\u89e3\u3068\u3044\u3048\u3070\u6b63\u89e3\u3002C\u306a\u3089\u305d\u308c\u3067\u3082\u3044\u3044\u3093\u3061\u3083\u3044\u307e\u3059\u304b\u306d\u3002<\/p>\n<hr \/>\n<p>C\u306a\u3089\u3070\u3001\u30b9\u30b3\u30fc\u30d7\u5185\u3067\u7528\u6e08\u307f\u306a\u3089\u3070\u30b9\u30bf\u30c3\u30af\u3001\u305d\u3046\u3058\u3083\u306a\u304b\u3063\u305f\u308a\u52d5\u7684\u306b\u914d\u5217\u3092\u78ba\u4fdd\u3057\u305f\u3044\u3068\u304d\u306f\u30d2\u30fc\u30d7\u3068\u3002<br \/>\u3053\u3046\u3044\u3046\u5f79\u5272\u5206\u62c5\u3067OK\u306a\u308f\u3051\u3067\u3059\u304c\u3001C++\u3067\u306f\u3061\u3087\u3063\u3068\u4e8b\u60c5\u304c\u5909\u308f\u3063\u3066\u304f\u308b\u3002<br \/>\u4f8b\u3048\u3070C\u3067\u8fd4\u308a\u5024\u304c\u914d\u5217\u306a\u3068\u304d\u306f\u3053\u3046\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u304b\u306a\u3002<\/p>\n<pre>int* fib(int len){<br \/>  int i; int* r;<br \/>  r=calloc(sizeof(int),len);<br \/>  if(len>0) r[0]=0;<br \/>  if(len>1) r[1]=1;<br \/>  for(i=2;i<len;i++)  r[i]=r[i-1]+r[i-2];<br \/>  return r;<br \/>}<\/pre>\n<p>\u8fd4\u308a\u5024\u3092\u53d7\u3051\u305f\u65b9\u306f\u9069\u5f53\u306a\u3068\u3053\u308d\u3067free\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u306e\u3067\u597d\u304d\u3058\u3083\u306a\u3044\u3002<br \/>\u3068\u3053\u308d\u304c\u3001C++\u3067\u306fstd::vector\u3068\u3044\u3046\u4fbf\u5229\u306a\u3082\u306e\u304c\u3042\u308b\u306e\u3067\u3053\u3046\u3044\u3046\u624b\u3082\u3042\u308b\u3002<\/p>\n<pre>struct fibgen{<br \/>  int x,y;<br \/>  fibgen(void):x(0),y(1){}<br \/>  int operator()(void){ int r=x; x=y; y=x+r; return r; }<br \/>};<br \/>std::vector&lt;int> fib(int len){<br \/>  std::vector&lt;int> r(len);<br \/>  std::generate(r.begin(),r.end(),fibgen());<br \/>  return r;<br \/>}<\/pre>\n<p>\u306a\u3093\u304b\u3069\u3046\u3067\u3082\u3044\u3044\u3068\u3053\u308d\u306b\u6280\u5de7\u3092\u51dd\u3089\u3057\u3066\u3057\u307e\u3063\u305f\u304c\u3001std::vector\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u81ea\u4f53\u3092\u8fd4\u308a\u5024\u306b\u3057\u3066\u3044\u308b\u3002<br \/>\u3053\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u30b9\u30bf\u30c3\u30af\u4e0a\u306b\u69cb\u6210\u3055\u308c\u3066\u3044\u308b\u3002<br \/>\u307e\u3041\u914d\u5217\u306e\u5b9f\u4f53\u306f\u30d2\u30fc\u30d7\u4e0a\u306b\u53d6\u3063\u3066\u3042\u308b\u3093\u3060\u3051\u3069\u3001\u305d\u308c\u306f\u6c17\u306b\u3057\u306a\u304f\u3066\u3044\u3044\u3002<br \/>\u8fd4\u308a\u5024\u3092\u53d7\u3051\u305f\u3089\u3069\u3046\u3059\u308b\u306e\u304b\u3068\u3044\u3046\u3068\u30b3\u30d4\u30fc\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u3067\u3053\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4e38\u3054\u3068\u30b3\u30d4\u30fc\u3059\u308b\u3002<br \/>\u5de8\u5927\u306a\u914d\u5217\u3092\u4e38\u3054\u3068\u30b3\u30d4\u30fc\u3059\u308b\u306e\u3063\u3066\u5927\u5909\u3060\u3088\u306d\u3063\u3066\u306e\u306f\u50d5\u304cC++\u59cb\u3081\u305f\u3068\u304d\u304b\u3089\u601d\u3063\u3066\u305f\u3053\u3068\u3002<\/p>\n<hr \/>\n<p>\u306a\u306e\u3067\u50d5\u306f\u30d2\u30fc\u30d7\u4e0a\u306b\u4f5c\u3063\u3066\u30dd\u30a4\u30f3\u30bf\u3092boost::shared_ptr\u306b\u5165\u308c\u3066\u304b\u3089\u8fd4\u3059\u3088\u3046\u306b\u3068\u304b\u3057\u3066\u3044\u305f\u3002<br \/>\u3053\u308c\u306a\u3089\u3070\u30b3\u30d4\u30fc\u3057\u306a\u304f\u3066\u6e08\u3080\u304b\u3089\u30b3\u30d4\u30fc\u304c\u5927\u5909\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3082\u5b89\u5fc3\u3060\u3068\u3002<br \/>\u305f\u3060\u3057\u30d2\u30fc\u30d7\u304b\u3089\u30e1\u30e2\u30ea\u3092\u53d6\u3063\u3066\u304f\u308b\u3068\u8a00\u3046\u306e\u306f\u7d50\u69cb\u306a\u8ca0\u8377\u3058\u3083\u306a\u3044\u306e\u3068\u3082\u601d\u3063\u3066\u3044\u305f\u308f\u3051\u3060\u3002<br \/>\u4e00\u4f53\u3069\u3063\u3061\u306e\u65b9\u304c\u901f\u3044\u304b\u306f\u7591\u554f\u3060\u3063\u305f\u3002<br \/>\u305d\u3057\u3066C++0x\u3067\u306f\u53f3\u8fba\u5024\u53c2\u7167\u304c\u5165\u308b\u898b\u8fbc\u307f\u3002<br \/>\u3053\u308c\u3092\u4f7f\u3048\u3070\u7834\u58ca\u7684\u30b3\u30d4\u30fc\u3067\u9ad8\u901f\u306b\u30b3\u30d4\u30fc\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u306f\u305a\u3002<br \/>std::vector\u306e\u5834\u5408\u3060\u3063\u305f\u3089\u914d\u5217\u306e\u5b9f\u4f53\u306f\u30d2\u30fc\u30d7\u4e0a\u306b\u3042\u308b\u304b\u3089\u3053\u308c\u3092\u3072\u3063\u305f\u304f\u3063\u3066\u304f\u308b\u3093\u3060\u308d\u3046\u3002<br \/>\u3082\u3057\u3053\u306e\u4ed5\u7d44\u307f\u304c\u3042\u308b\u306e\u306a\u3089\u30b3\u30d4\u30fc\u3059\u308b\u306e\u304c\u5927\u5909\u3060\u3063\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3082\u968f\u5206\u8efd\u304f\u306a\u308b\u306e\u3067\u306f\u3068\u3002<\/p>\n<hr \/>\n<p>\u307e\u3041\u3057\u304b\u3057\u5b9f\u969b\u3069\u308c\u3050\u3089\u3044\u6027\u80fd\u306b\u5dee\u304c\u3042\u308b\u306e\u304b\u3068\u3044\u3046\u306e\u306f\u3088\u3046\u308f\u304b\u3089\u3093\u304b\u3089\u5b9f\u9a13\u3057\u3066\u307f\u305f\u3002<br \/>&#8216;H&#8217;\u304c100\u500b\u9023\u7d9a\u3057\u305f\u6587\u5b57\u5217\u3092\u8868\u3059std::string\u309250\u4e07\u56de\u4f5c\u3063\u305f\u308a\u3057\u3066\u307f\u308b\u5b9f\u9a13\u3092\u3057\u305f\u3002<br \/>\u5b9f\u9a13\u3057\u305f\u306e\u306f<br \/>\u30b9\u30bf\u30c3\u30af\u4e0a\u306b\u69cb\u6210\u3057\u305f\u5834\u5408<br \/>\u30b9\u30bf\u30c3\u30af\u4e0a\u306b\u69cb\u6210\u3057\u3066\u30b9\u30bf\u30c3\u30af\u4e0a\u306b\u7834\u58ca\u7684\u30b3\u30d4\u30fc\u3057\u305f\u5834\u5408<br \/>\u30b9\u30bf\u30c3\u30af\u4e0a\u306b\u69cb\u6210\u3057\u3066\u30b9\u30bf\u30c3\u30af\u4e0a\u306b\u666e\u901a\u306b\u30b3\u30d4\u30fc\u3057\u305f\u5834\u5408\u3001<br \/>\u30d2\u30fc\u30d7\u4e0a\u306b\u69cb\u6210\u3057\u305f\u5834\u5408<br \/>\u30d2\u30fc\u30d7\u4e0a\u306b\u69cb\u6210\u3057\u3066\u30d2\u30fc\u30d7\u4e0a\u306b\u7834\u58ca\u7684\u30b3\u30d4\u30fc\u3057\u305f\u5834\u5408<br \/>\u30d2\u30fc\u30d7\u4e0a\u306b\u69cb\u6210\u3057\u3066\u30d2\u30fc\u30d7\u4e0a\u306b\u666e\u901a\u306b\u30b3\u30d4\u30fc\u3057\u305f\u5834\u5408<br \/>\u307e\u3041\u6700\u5f8c\u306e2\u3064\u306f\u5b9f\u7528\u7684\u3058\u3083\u306a\u3044\u304c\u8a66\u3057\u306b\u3084\u3063\u3066\u307f\u305f\u3002<br \/>\u305d\u306e\u7d50\u679c\u306f\u3001\u4e0a\u304b\u3089\u9806\u756a\u306b375ms,469ms,953ms,828ms,1250ms,2922ms<br \/>\u3044\u307e\u307e\u3067\u306f\u30b9\u30bf\u30c3\u30af\u306b\u69cb\u6210\u3057\u3066\u30b9\u30bf\u30c3\u30af\u306b\u666e\u901a\u306b\u30b3\u30d4\u30fc\u3059\u308b\u304b\u3001\u30d2\u30fc\u30d7\u306b\u69cb\u6210\u3057\u3066\u30dd\u30a4\u30f3\u30bf\u3067\u8fd4\u3059\u304b\u3060\u3063\u305f\u308f\u3051\u3060\u3002<br \/>\u305d\u308c\u3067\u6bd4\u8f03\u3057\u3066\u307f\u308b\u3068953ms\u3068828ms\u3060\u304b\u3089\u308f\u305a\u304b\u306b\u30d2\u30fc\u30d7\u306b\u69cb\u6210\u3057\u3066\u30dd\u30a4\u30f3\u30bf\u3067\u8fd4\u3057\u305f\u65b9\u304c\u65e9\u3044\u3002<br \/>\u307e\u3041\u3057\u304b\u3057\u3053\u308c\u307b\u3069\u306e\u9577\u3055\u306e\u6587\u5b57\u5217\u3067\u3082\u3053\u306e\u7a0b\u5ea6\u306a\u3089\u6b63\u76f4\u3044\u3089\u3093\u304b\u3082\u3057\u308c\u3093\u306a\u3002<br \/>\u6587\u5b57\u5217\u304c\u4f55\u500b\u3082\u8a70\u307e\u3063\u305fstd::vector\u3068\u304b\u3067\u3082\u306a\u3044\u9650\u308a\u610f\u5473\u306f\u7121\u3044\u304b\u3082\u3002<br \/>\u4e00\u65b9\u3001\u7834\u58ca\u7684\u30b3\u30d4\u30fc\u3057\u305f\u5834\u5408\u306f\u306a\u3093\u3068469ms\u3001\u3053\u308c\u306f\u3059\u3054\u304f\u901f\u3044\u3002<br \/>C++0x\u306e\u6642\u4ee3\u304c\u6765\u305f\u3089\u308f\u3056\u308f\u3056\u30dd\u30a4\u30f3\u30bf\u3067\u8fd4\u3059\u5fc5\u8981\u306f\u306a\u3044\u304b\u3082\u306d\u3002<\/p>\n<hr \/>\n<p>\u3082\u30461\u3064\u78ba\u304b\u3081\u3066\u304a\u304d\u305f\u3044\u3053\u3068\u304c\u3042\u3063\u305f\u3002<br \/>\u305d\u308c\u306f\u30b9\u30de\u30fc\u30c8\u30dd\u30a4\u30f3\u30bf\u306e\u901f\u5ea6\u3002<br \/>std::shared_ptr\u3068std::unique_ptr\u3068\u751f\u30dd\u30a4\u30f3\u30bf\u3001\u3053\u308c\u30921\u3064\u69cb\u6210\u3057\u305f\u3068\u304d\u3068\u30b3\u30d4\u30fc\u30fb\u79fb\u52d5\u3057\u306620\u500b\u69cb\u6210\u3059\u308b\u306e\u309250\u4e07\u56de\u3084\u3063\u305f\u3002<br \/>\u306a\u304a\u3001\u3044\u305a\u308c\u3082\u521d\u3081\u306b\u3055\u3063\u304d\u3068\u540c\u3058\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u3063\u3066\u3044\u308b\u3002<br \/>\u30dd\u30a4\u30f3\u30bf\u306e\u500b\u65701\u3064\u306e\u5834\u5408\u3001\u524d\u304b\u3089\u9806\u756a\u306b\u30011266ms,828ms,828ms\u3068\u306a\u3063\u3066\u3044\u308b\u3002<br \/>\u307e\u305ashared_ptr\u306f\u7d50\u69cb\u9045\u3044\u3002\u3053\u308c\u3060\u3051\u53c2\u7167\u30dd\u30a4\u30f3\u30bf\u3060\u304b\u3089\u8907\u96d1\u3060\u3082\u3093\u306d\u3002<br \/>\u4e00\u65b9\u3001unique_ptr\u3068\u751f\u30dd\u30a4\u30f3\u30bf\u306f\u5927\u3057\u305f\u5dee\u306f\u306a\u3044\u3002\u3061\u306a\u307f\u306b\u751f\u30dd\u30a4\u30f3\u30bf\u306f\u624b\u52d5\u3067delete\u3059\u308b\u6642\u9593\u3082\u5165\u308c\u3066\u308b\u3088\u3002<br \/>\u307e\u3041\u3060\u304b\u3089\u7d50\u5c40\u540c\u3058\u3053\u3068\u3092\u66f8\u3044\u3066\u3084\u3063\u3066\u3044\u308b\u304b\u3001\u66f8\u304b\u305a\u306b\u3084\u3063\u3066\u3044\u308b\u304b\u306e\u9055\u3044\u3067\u3059\u306d\u3002<br \/>\u30dd\u30a4\u30f3\u30bf\u306e\u500b\u657020\u500b\u306e\u5834\u5408\u3001\u524d\u304b\u3089\u9806\u756a\u306b\u30011594ms,828ms,828ms\u3068\u306a\u3063\u3066\u3044\u308b\u3002<br \/>\u307e\u3041\u751f\u30dd\u30a4\u30f3\u30bf\u306f\u305f\u3060\u306e\u6570\u5b57\u306e\u30b3\u30d4\u30fc\u3092\u7e70\u308a\u8fd4\u3057\u3066\u3044\u308b\u3060\u3051\u3060\u304b\u3089\u5dee\u304c\u306a\u3044\u306e\u306f\u3042\u305f\u308a\u307e\u3048\u3060\u304c\u3001<br \/>unique_ptr\u304c\u5909\u308f\u3089\u306a\u3044\u306e\u306f\u610f\u5916\u3060\u3063\u305f\u3002<br \/>\u591a\u5206\u3060\u304c\u30c7\u30b9\u30c8\u30e9\u30af\u30bf\u3092\u547c\u3076\u306e\u306f\u5927\u3057\u305f\u30b3\u30b9\u30c8\u3058\u3083\u306a\u3044\u3093\u3060\u308d\u3046\u3002<br \/>\u305d\u3057\u3066\u305d\u306e\u30c7\u30b9\u30c8\u30e9\u30af\u30bf\u3067\u306f\u3059\u3067\u306b\u79fb\u52d5\u3055\u308c\u3066\u3044\u308c\u3070\u4f55\u306b\u3082\u3057\u306a\u3044\u3060\u3051\u306a\u306e\u3067\u7c21\u5358\u3060\u3068\u3002<br \/>\u305d\u3046\u3044\u3046\u3053\u3068\u3058\u3083\u306a\u3044\u304b\u306a\u3002<br \/>\u4e00\u65b9shared_ptr\u306f\u6642\u9593\u304c\u5ef6\u3073\u3066\u3044\u308b\u3002\u3053\u308c\u306f\u6700\u5f8c\u306e1\u500b\u4ee5\u5916\u3067\u3082\u30c7\u30b9\u30c8\u30e9\u30af\u30bf\u306f\u8907\u96d1\u3060\u304b\u3089\u3002<br \/>\u307e\u3041\u3042\u305f\u308a\u307e\u3048\u3067\u3059\u306d\u3002<br \/>\u3053\u306e\u3053\u3068\u304b\u3089C++0x\u3067\u306f\u30dd\u30a4\u30f3\u30bf\u306funique_ptr\u3067\u5305\u3093\u3067\u8fd4\u308a\u5024\u306b\u3059\u308b\u306e\u304c\u306a\u306b\u304b\u3068\u3088\u3055\u305d\u3046\u3060\u3068\u3044\u3046\u3053\u3068\u3060\u306a\u3002<br \/>\u53d7\u3051\u53d6\u3063\u305f\u65b9\u304cshared_ptr\u306b\u8a70\u3081\u305f\u3044\u306a\u3089\u3070release\u3059\u308c\u3070\u3044\u3044\u3060\u3051\u3060\u3082\u3093\u306d\u3002<\/p>\n<hr \/>\n<p>\u305d\u308c\u306b\u3057\u3066\u3082\u53f3\u8fba\u5024\u53c2\u7167\u5f37\u3044\u306a\u3041\u3002<br \/>\u3053\u3046\u3044\u3046\u306e\u3092\u898b\u308b\u3068\u53f3\u8fba\u5024\u53c2\u7167\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u30b3\u30f3\u30d1\u30a4\u30e9\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u305f\u304f\u306a\u308b\u3088\u306d\u3002<br \/>\u3051\u3069\u3001\u5168\u4f53\u7684\u306b\u306f\u5fae\u3005\u305f\u308b\u5dee\u3058\u3083\u306a\u3044\u304b\u306a\u3068\u3082\u601d\u3063\u305f\u3002<br \/>\u3068\u3044\u3046\u306e\u306f\u3084\u3063\u3071\u308aC++\u3063\u3066\u305d\u3082\u305d\u3082\u901f\u3044\u304b\u3089\u3002<br \/>\u591a\u5c11\u7121\u99c4\u306a\u30b3\u30d4\u30fc\u304c\u3042\u3063\u3066\u3082Java\u3084C#\u3067\u4f5c\u308b\u3088\u308a\u306f\u901f\u3044\u3067\u3057\u3087\u3046\u3002GC\u306a\u3044\u3067\u3059\u3057\u306d\u3002<br \/>\u3068\u3044\u3046\u304b\u3042\u3044\u3064\u3089\u306f\u57fa\u672c\u7684\u306b\u306f\u30d2\u30fc\u30d7\u304b\u3089\u3057\u304b\u30e1\u30e2\u30ea\u3092\u78ba\u4fdd\u3067\u304d\u306a\u3044\u304b\u3089\u3002<br \/>\u305d\u3046\u3044\u3046\u610f\u5473\u3067\u306f\u9ad8\u901f\u306a\u30b9\u30bf\u30c3\u30af\u304b\u3089\u306e\u30e1\u30e2\u30ea\u78ba\u4fdd\u3092\u9078\u629e\u3067\u304d\u308bC++\u306f\u304a\u3044\u3057\u3044\u306e\u304b\u3082\u3002<br \/>C++0x\u306e\u6642\u4ee3\u306b\u306f\u4f7f\u3044\u52dd\u624b\u3092\u4e2d\u5fc3\u306b\u9078\u3093\u3067\u3044\u304d\u305f\u3044\u3068\u3053\u308d\u3067\u3059\u306d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u65e5\u306f\u660e\u65e5\u306e\u30c1\u30a7\u30c3\u30af\u3092\u3057\u306a\u304c\u3089\u3001\u5b9f\u9a13\u3092\u3057\u3066\u3044\u305f\u3002\u305d\u308c\u306fC++0x\u3067\u5c0e\u5165\u3055\u308c\u305f\u53f3\u8fba\u5024\u53c2\u7167\u306e\u6027\u80fd\u306b\u3064\u3044\u3066\u3002(\u53c2\u8003\u8a18\u4e8b : C++0x\u306e\u5316\u3051\u7269\u3058\u307f\u305f\u53f3\u8fba\u5024\u53c2\u7167)\u3053\u308c\u306f\u7d50\u69cb\u91cd\u8981\u306a\u3053\u3068\u3067\u3059\u3002 C++\u306e\u30e1\u30e2\u30ea\u306e\u78ba\u4fdd\u306e\u4ed5\u65b9\u306b\u306f\u30b9\u30bf\u30c3\u30af [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1753","post","type-post","status-publish","format-standard","hentry","category-computer"],"_links":{"self":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/1753","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1753"}],"version-history":[{"count":0,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/1753\/revisions"}],"wp:attachment":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1753"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}