[{"@context":"http:\/\/schema.org\/","@type":"BlogPosting","@id":"https:\/\/wiki.edu.vn\/all2jp\/wiki10\/archives\/9281#BlogPosting","mainEntityOfPage":"https:\/\/wiki.edu.vn\/all2jp\/wiki10\/archives\/9281","headline":"C+ – \u30a6\u30a3\u30ad\u30da\u30c7\u30a3\u30a2","name":"C+ – \u30a6\u30a3\u30ad\u30da\u30c7\u30a3\u30a2","description":"before-content-x4 C ++ \u57fa\u672c\u30c7\u30fc\u30bf\u306b\u306a\u308a\u307e\u3059 \u30d1\u30e9\u30c0\u30a4\u30e0\uff1a MultiParadigms\uff08\u4e00\u822c\u7684\u3001\u547d\u4ee4\u7684\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u3001\u624b\u7d9a\u304d\u3001\u69cb\u9020\u3001\u6a5f\u80fd\uff09 \u516c\u958b\u5e74\uff1a 1983\u5e74 \u30c7\u30b6\u30a4\u30ca\u30fc\uff1a Bjarne Strooustrup \u30c7\u30d9\u30ed\u30c3\u30d1\u30fc\uff1a Bjarne Strooustrup \u73fe\u884c\u7248 C ++ 20 [\u521d\u3081] \uff082020\u5e7412\u6708\uff09","datePublished":"2022-11-09","dateModified":"2022-11-09","author":{"@type":"Person","@id":"https:\/\/wiki.edu.vn\/all2jp\/wiki10\/archives\/author\/lordneo#Person","name":"lordneo","url":"https:\/\/wiki.edu.vn\/all2jp\/wiki10\/archives\/author\/lordneo","image":{"@type":"ImageObject","@id":"https:\/\/secure.gravatar.com\/avatar\/44a4cee54c4c053e967fe3e7d054edd4?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/44a4cee54c4c053e967fe3e7d054edd4?s=96&d=mm&r=g","height":96,"width":96}},"publisher":{"@type":"Organization","name":"Enzyklop\u00e4die","logo":{"@type":"ImageObject","@id":"https:\/\/wiki.edu.vn\/wiki4\/wp-content\/uploads\/2023\/08\/download.jpg","url":"https:\/\/wiki.edu.vn\/wiki4\/wp-content\/uploads\/2023\/08\/download.jpg","width":600,"height":60}},"image":{"@type":"ImageObject","@id":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/1\/18\/ISO_C%2B%2B_Logo.svg\/150px-ISO_C%2B%2B_Logo.svg.png","url":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/1\/18\/ISO_C%2B%2B_Logo.svg\/150px-ISO_C%2B%2B_Logo.svg.png","height":"169","width":"150"},"url":"https:\/\/wiki.edu.vn\/all2jp\/wiki10\/archives\/9281","wordCount":8225,"articleBody":" (adsbygoogle = window.adsbygoogle || []).push({});before-content-x4C ++ \u57fa\u672c\u30c7\u30fc\u30bf\u306b\u306a\u308a\u307e\u3059 \u30d1\u30e9\u30c0\u30a4\u30e0\uff1a MultiParadigms\uff08\u4e00\u822c\u7684\u3001\u547d\u4ee4\u7684\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u3001\u624b\u7d9a\u304d\u3001\u69cb\u9020\u3001\u6a5f\u80fd\uff09 \u516c\u958b\u5e74\uff1a 1983\u5e74 \u30c7\u30b6\u30a4\u30ca\u30fc\uff1a Bjarne Strooustrup \u30c7\u30d9\u30ed\u30c3\u30d1\u30fc\uff1a Bjarne Strooustrup \u73fe\u884c\u7248 C ++ 20 [\u521d\u3081] \uff082020\u5e7412\u6708\uff09 \u73fe\u5728\u306eVorab\u30d0\u30fc\u30b8\u30e7\u30f3\uff1a C ++ 23 \uff08\uff09 \u30bf\u30a4\u30d4\u30f3\u30b0\uff1a \u9759\u7684\uff08\u52d5\u7684\u30bf\u30a4\u30d7\u30c6\u30b9\u30c8\u53ef\u80fd\uff09\u3001\u6697\u9ed9\u7684\u306b\u3001\u5f37\u3044 \u91cd\u8981\u306a\u5b9f\u88c5\uff1a C ++\u30d3\u30eb\u30c0\u30fc\u3001GCC\u3001MS VisualC ++\u3001Intel C ++\u30b3\u30f3\u30d1\u30a4\u30e9\u3001Clang\/LLVM \u6a19\u6e96\u5316\uff1a ISO\/IEC 14882\uff1a1998\u3001 ISO\/IEC 14882\uff1a2003\u3001 ISO\/IEC TR 19768\uff1a2007\u3001 ISO\/IEC 14882\uff1a2011\u3001 ISO\/IEC 14882\uff1a2014 [2] \u3001 ISO\/IEC 14882\uff1a2017 [3] \u3001 ISO\/IEC 14882\uff1a2020 [4] \u306b\u5f71\u97ff\u3092\u53d7\u3051\u305f\uff1a C\u3001\u30b7\u30df\u30e5\u30e9\u3001\u30a2\u30eb\u30b4\u30eb68\u3001CLU\u3001\u30e1\u30bf\u8a00\u8a9e\u3001\u305d\u3053\u306b \u5f71\u97ff\u3092\u53d7\u3051\u305f\uff1a Ada 95\u3001Chapel\u3001C\uff03\u3001D\u3001Go\u3001Java\u3001Nim\u3001Perl\u3001Php\u3001Python [5] \u3001\u30f4\u30a1\u30e9\u3001\u9306\u3001\u30b7\u30fc\u30c97 isocpp.org C ++ ISO\u306b\u3088\u3063\u3066\u6a19\u6e96\u5316\u3055\u308c\u305f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u3059\u3002 1979\u5e74\u304b\u3089\u3001Bjarne Stroustup\u304c\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9eC\u306e\u62e1\u5f35\u3068\u3057\u3066\u958b\u767a\u3057\u307e\u3057\u305f\u3002 C ++\u306f\u3001\u9ad8\u30ec\u30d9\u30eb\u306e\u62bd\u8c61\u5316\u3067\u52b9\u7387\u7684\u306a\u304a\u3088\u3073\u30de\u30b7\u30f3\u30af\u30ed\u30fc\u30b9\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3068\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u4e21\u65b9\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002\u3053\u306e\u6a19\u6e96\u306f\u3001\u3055\u307e\u3056\u307e\u306a\u5b9f\u88c5\u304c\u5b58\u5728\u3059\u308b\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u3082\u5b9a\u7fa9\u3057\u307e\u3059\u3002 (adsbygoogle = window.adsbygoogle || []).push({});after-content-x4C ++\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3068\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3067\u4f7f\u7528\u3055\u308c\u3001\u4e21\u65b9\u306e\u5206\u91ce\u3067\u6700\u3082\u4e00\u822c\u7684\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e1\u3064\u3067\u3059\u3002 [6] Table of Contents\u30b7\u30b9\u30c6\u30e0\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u97f3\u58f0\u30c7\u30b6\u30a4\u30f3 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u8cc7\u6e90\u7ba1\u7406 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u4e0d\u5b8c\u5168\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u65b9\u5411 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u8981\u7d20\u306e\u53ef\u8996\u6027 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u4e0d\u5b8c\u5168\u306a\u30ab\u30d7\u30bb\u30eb [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u672a\u5b9a\u7fa9\u306e\u52d5\u4f5c [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] c\u3068\u306e\u4e92\u63db\u6027 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u8a73\u7d30\u306b\u8a00\u8a9e\u7279\u6027 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4f8b [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u30d5\u30a1\u30a4\u30eb\u30a8\u30f3\u30c7\u30a3\u30f3\u30b0 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] C ++ - \u30b3\u30f3\u30d1\u30a4\u30e9 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u7121\u6599\u306e\u958b\u767a\u74b0\u5883 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u72ec\u81ea\u306e\u958b\u767a\u74b0\u5883 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] Objective-C [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] Java\u3068C\uff03 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u8d77\u6e90\u306e\u6b74\u53f2 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u6a19\u6e96\u5316 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] 2005\u5e74\u4ee5\u964d\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9eC ++\u306e\u3055\u3089\u306a\u308b\u958b\u767a [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u8a00\u8a9e\u30b3\u30a2\u306e\u6539\u5584 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u30d7\u30ed\u30b0\u30e9\u30e0\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u62e1\u5f35 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] C ++ 11 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] C ++ 14 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] C ++ 17 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] C ++ 20 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] C ++ 23\/26 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u300cC ++\u300d\u3068\u3044\u3046\u540d\u524d [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u30b7\u30b9\u30c6\u30e0\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u30b7\u30b9\u30c6\u30e0\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u5178\u578b\u7684\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u5206\u91ce\u306f\u3001\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u3001\u7d44\u307f\u8fbc\u307f\u30b7\u30b9\u30c6\u30e0\u3001\u4eee\u60f3\u30de\u30b7\u30f3\u3001\u30c9\u30e9\u30a4\u30d0\u30fc\u3001\u4fe1\u53f7\u30d7\u30ed\u30bb\u30c3\u30b5\u3067\u3059\u3002 C ++\u306f\u3057\u3070\u3057\u3070\u3053\u3053\u3067\u305d\u306e\u5834\u6240\u3092\u53d6\u308a\u4e0a\u3052\u307e\u3059\u3002\u3053\u308c\u306f\u4ee5\u524d\u306f\u30a2\u30bb\u30f3\u30d6\u30e9\u30fc\u8a00\u8a9e\u3068\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e\u307f\u3092\u4e88\u7d04\u3057\u3066\u3044\u307e\u3057\u305f\u3002 (adsbygoogle = window.adsbygoogle || []).push({});after-content-x4\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3067\u306f\u3001C ++\u304c\u4e3b\u306b\u4f7f\u7528\u3055\u308c\u3001\u52b9\u7387\u306b\u5bfe\u3059\u308b\u9ad8\u3044\u9700\u8981\u304c\u3001\u6280\u8853\u7684\u306a\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u6761\u4ef6\u3092\u901a\u3058\u3066\u6307\u5b9a\u3055\u308c\u305f\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u5236\u9650\u3092\u53ef\u80fd\u306a\u9650\u308a\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002 2000\u5e74\u304b\u3089\u3001C ++\u306f\u3001\u8a00\u8a9eJava\u3068C\uff03\u306b\u3088\u3063\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u30c9\u30e1\u30a4\u30f3\u304b\u3089\u62bc\u3057\u623b\u3055\u308c\u307e\u3057\u305f\u3002 \u97f3\u58f0\u30c7\u30b6\u30a4\u30f3 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] C ++\u8a00\u8a9e\u306f\u7d0460\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\uff08\u300c\u8a00\u8a9e\u30b3\u30a2\u300d\uff09\u306e\u307f\u3092\u4f7f\u7528\u3057\u3001\u4e00\u90e8\u306f\u7570\u306a\u308b\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306b\u3042\u308a\u307e\u3059\uff08 \u9759\u7684 \u3001 \u30c7\u30d5\u30a9\u30eb\u30c8 \uff09\u6570\u56de\u4f7f\u7528\u3057\u307e\u3059\u3002 C ++\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4ecb\u3057\u3066\u3001\u8a00\u8a9eC\u3068\u540c\u69d8\u306b\u5b9f\u969b\u306e\u6a5f\u80fd\u3092\u53d7\u4fe1\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u91cd\u8981\u306a\u6a5f\u80fd\uff08\u914d\u5217\u3001\u30d9\u30af\u30c8\u30eb\u3001\u30ea\u30b9\u30c8\u306a\u3069\uff09\u3068\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\uff08ioStream\u3001fopen\u3001exit\u3001…\uff09\u3092\u6559\u3048\u307e\u3059\u3002\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u9818\u57df\u306b\u5fdc\u3058\u3066\u3001\u4ed6\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002 C ++\u306f\u3001\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u958b\u767a\u306e\u305f\u3081\u306e\u8a00\u8a9e\u6551\u6e08\u306b\u7126\u70b9\u3092\u5f53\u3066\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u5178\u578b\u7684\u306a\u554f\u984c\u306b\u5bfe\u3059\u308b\u4e00\u822c\u5316\u3055\u308c\u305f\u30e1\u30ab\u30cb\u30ba\u30e0\u3092\u652f\u6301\u3057\u3001\u8a00\u8a9e\u306b\u500b\u5225\u306e\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u7d71\u5408\u3059\u308b\u3053\u3068\u306f\u307b\u3068\u3093\u3069\u3042\u308a\u307e\u305b\u3093\u3002 C ++\u306e\u5f37\u5ea6\u306e1\u3064\u306f\u3001\u7c21\u5358\u306a\u5b9f\u88c5\u306e\u8a73\u7d30\u3092\u8981\u7d04\u3057\u3001\u62bd\u8c61\u7684\u306a\u30b3\u30de\u30f3\u30c9\u306e\u7d50\u679c\u306e\u80cc\u5f8c\u306b\u4e3b\u306b\u96a0\u308c\u3066\u3044\u308b\u5f37\u529b\u306a\u8a00\u8a9e\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3068\u306e\u52b9\u7387\u7684\u306a\u30de\u30b7\u30f3\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u3059\u3002\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30e1\u30bf\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306f\u7279\u306b\u91cd\u8981\u3067\u3059\u3002\u52b9\u7387\u3068\u62bd\u8c61\u5316\u306e\u307b\u3068\u3093\u3069\u59a5\u5354\u306e\u306a\u3044\u7d44\u307f\u5408\u308f\u305b\u3092\u53ef\u80fd\u306b\u3059\u308b\u624b\u6cd5\u3067\u3059\u3002 \u305f\u3060\u3057\u3001\u3044\u304f\u3064\u304b\u306e\u8a2d\u8a08\u4e0a\u306e\u6c7a\u5b9a\u3082\u3057\u3070\u3057\u3070\u6279\u5224\u3055\u308c\u307e\u3059\u3002 (adsbygoogle = window.adsbygoogle || []).push({});after-content-x4\u8cc7\u6e90\u7ba1\u7406 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] C ++\u306b\u306f\u30b4\u30df\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u56f3\u66f8\u9928\u3092\u4ecb\u3057\u3066\u30ac\u30d9\u30fc\u30b8\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u6709\u52b9\u306b\u3059\u308b\u304b\u3001\u8a00\u8a9e\u6a19\u6e96\u306b\u8ffd\u52a0\u3059\u308b\u52aa\u529b\u304c\u3042\u308a\u307e\u3059\u3002 [7] [8] [9] Boehm\u30b9\u30c8\u30ec\u30fc\u30b8\u30af\u30ea\u30fc\u30cb\u30f3\u30b0\u3082\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002 C\uff08malloc\/realloc\/free\uff09\u306e\u30e1\u30e2\u30ea\u7ba1\u7406\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306f\u3001C ++\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u306a\u3069\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u4f4e\u30ec\u30d9\u30eb\u95a2\u6570\u3092\u5b9f\u88c5\u3057\u3066\u3001C\u30e9\u30a4\u30d6\u30e9\u30ea\u95a2\u6570\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u3067\u3059\u3002\u305f\u3060\u3057\u3001\u4e00\u822c\u7684\u306bC ++\u30b3\u30fc\u30c9\u306f\u3001\u7dca\u6025\u306b\u30a2\u30c9\u30d0\u30a4\u30b9\u3055\u308c\u3066\u3044\u307e\u3059\u3002 [\u5341] \u4ee3\u308f\u308a\u306b\u3001\u63d0\u4f9b\u3055\u308c\u308b\u30b3\u30f3\u30c6\u30ca\u30af\u30e9\u30b9\u3092\u4f7f\u7528\u3057\u3066\u3001C ++\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u3088\u3063\u3066\u30e1\u30e2\u30ea\u7ba1\u7406\u3092\u5f15\u304d\u7d99\u3050\u3053\u3068\u304c\u6163\u7fd2\u3067\u3059\u3002 \u4ed6\u306e\u30ea\u30bd\u30fc\u30b9\u3001\u4f8b\u3048\u3070B.\u30d5\u30a1\u30a4\u30eb\u30cf\u30f3\u30c9\u30eb\u307e\u305f\u306f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30bd\u30b1\u30c3\u30c8\u306f\u3001\u901a\u5e38\u3001RAII\u539f\u5247\u3092\u5099\u3048\u305f\u72ec\u81ea\u306e\u30af\u30e9\u30b9\u3067C ++\u3067\u7ba1\u7406\u3055\u308c\u3001\u4f7f\u7528\u5f8c\u306b\u81ea\u52d5\u6574\u7406\u3092\u78ba\u4fdd\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u591a\u304f\u306e\u5834\u5408\u3001\u7279\u5225\u306a\u57fa\u672c\u30af\u30e9\u30b9\/\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u5b9f\u88c5\u3059\u308b\u4ed6\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u6982\u5ff5\u7684\u306b\u8a2d\u8a08\u3055\u308c\u3066\u3044\u307e\u3059\u3002 B. Java\u306e\u300c\u30aa\u30fc\u30c8\u30af\u30ed\u30fc\u53ef\u80fd\u300d\u307e\u305f\u306fC\uff03\u306e\u300cIdisposable\u300d\u3002\u4ed6\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u306f\u3001\u3053\u308c\u3089\u306e\u975e\u7ba1\u7406\u3055\u308c\u3066\u3044\u306a\u3044\u30ea\u30bd\u30fc\u30b9\u304c\u3001\u30ac\u30d9\u30fc\u30b8\u30b3\u30ec\u30af\u30bf\u30fc\u3068\u4f75\u305b\u3066\u3053\u308c\u3089\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5bff\u547d\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306b\u3001\u7279\u5225\u306a\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\uff08\u305f\u3068\u3048\u3070\u3001c\uff03\u3067\u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u4f7f\u7528\u3059\u308b\u300d\u3092\u5fc5\u8981\u3068\u3059\u308b\u3053\u3068\u304c\u3088\u304f\u3042\u308a\u307e\u3059\u3002C ++\u306e\u30e1\u30e2\u30ea\u306b\u306f\u30ea\u30bd\u30fc\u30b9\u3068\u3057\u3066\u7279\u5225\u306a\u30b9\u30c6\u30fc\u30bf\u30b9\u304c\u306a\u3044\u305f\u3081\u3001C ++\u306eRAII\u30d9\u30fc\u30b9\u306e\u5b9f\u88c5\u306f\u3053\u308c\u3089\u306e\u554f\u984c\u306e\u5f71\u97ff\u3092\u53d7\u3051\u306b\u304f\u304f\u3042\u308a\u307e\u305b\u3093\u3002\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5bff\u547d\u306e\u6b63\u3057\u3044\u5b9f\u88c5\u306f\u3001\u3053\u3053\u3067\u3059\u3079\u3066\u306e\u30ea\u30bd\u30fc\u30b9\u306e\u30ea\u30ea\u30fc\u30b9\u3092\u4fdd\u8a3c\u3057\u307e\u3059\u3002 \u53c2\u7167\u304c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u6301\u305f\u306a\u3044\u9650\u308a\u3001\u53c2\u7167\u306f\u901a\u5e38\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3078\u306e\u53c2\u7167\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002 B.\u95a2\u6570\u547c\u3073\u51fa\u3057\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3068\u3057\u3066\u3002\u52d5\u7684\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u6240\u6709\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306b\u3001\u901a\u5e38\u3001\u30b9\u30de\u30fc\u30c8\u30dd\u30a4\u30f3\u30bf\u30fc\u304c\u4f7f\u7528\u3055\u308c\u3001\u7834\u58ca\u3068\u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u627f\u8a8d\u3092\u5f15\u304d\u7d99\u304e\u307e\u3059\u3002\u6a19\u6e96\u7684\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u3001\u3053\u3053\u3067\u306e\u6240\u6709\u7269\u3092\u53b3\u5bc6\u306b\u533a\u5225\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30dd\u30a4\u30f3\u30bf\u30fc\u306e\u307f\u304csiquim_ptr\u306b\u30e1\u30e2\u30ea\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u30e1\u30e2\u30ea\u3092\u6240\u6709\u3059\u308b\u3053\u3068\u306f\u3001shared_ptr\u306e\u3044\u304f\u3064\u304b\u306e\u30dd\u30a4\u30f3\u30bf\u30fc\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u9593\u3067\u5171\u6709\u3067\u304d\u307e\u3059\u3002\u6280\u8853\u7684\u306b\u306f\u3001\u3053\u308c\u306f\u4e3b\u306bShared_ptr\u3092\u4f7f\u7528\u3057\u305f\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u30ab\u30a6\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002 [11] \u4e0d\u5b8c\u5168\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u65b9\u5411 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u8981\u7d20\u306e\u53ef\u8996\u6027 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] C ++\u3067\u306f\u3001\u901a\u5e38\u3001\u30d8\u30c3\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u306b\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306b\u5c5e\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u671f\u9593\u4e2d\u304a\u3088\u3073\u671f\u9593\u4e2d\u306b\u4f7f\u7528\u3059\u308b\u5834\u6240\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4f9d\u5b58\u95a2\u4fc2\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002 \u3053\u308c\u3089\u306e\u4f9d\u5b58\u95a2\u4fc2\u306f\u3001\u305d\u306e\u3088\u3046\u306a\u7279\u5b9a\u306e\u69cb\u9020\u3067\u4f7f\u7528\u3067\u304d\u307e\u3059 pimpl-idiom \uff08 \u5b9f\u88c5Idiom\u3078\u306e\u30dd\u30a4\u30f3\u30bf \uff09\u3001\u907f\u3051\u3066\u304f\u3060\u3055\u3044\u3002\u30af\u30e9\u30b9\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30d5\u30a3\u30fc\u30eb\u30c9\uff08 example_class \uff09\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u3067\u524d\u5ba3\u8a00\u3055\u308c\u305f\u88dc\u52a9\u30af\u30e9\u30b9\u306b\u79fb\u52d5\u3057\u3001\u3053\u306e\u88dc\u52a9\u30af\u30e9\u30b9\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3078\u306e\u30dd\u30a4\u30f3\u30bf\u30fc\u306b\u79fb\u52d5\u3057\u307e\u3057\u305f\uff08 example_class :: Impl * empl_ptr \uff09\u5b9f\u969b\u306e\u30af\u30e9\u30b9\u306b\u6b8b\u308a\u307e\u3059\u3002\u5b9f\u88c5\u30af\u30e9\u30b9\u306e\u5b9a\u7fa9\u306f\u3001\u30d1\u30d6\u30ea\u30c3\u30af\u30af\u30e9\u30b9\u306e\u5b9f\u88c5\u3067\u884c\u308f\u308c\u308b\u305f\u3081\u3001\u30af\u30e9\u30b9\u306e\u30e6\u30fc\u30b6\u30fc\uff08\u30d8\u30c3\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u306e\u307f\u3092\u77e5\u3063\u3066\u3044\u308b\uff09\u306b\u306f\u898b\u3048\u307e\u305b\u3093\u3002\u88dc\u52a9\u30af\u30e9\u30b9\u306f\u30dd\u30a4\u30f3\u30bf\u30fc\u306b\u3088\u3063\u3066\u306e\u307f\u53c2\u7167\u3055\u308c\u308b\u305f\u3081\u3001\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u3059\u3079\u3066\u306e\u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u306e\u5909\u66f4\u306f\u900f\u660e\u306e\u307e\u307e\u3067\u3042\u308a\u3001\u30d0\u30a4\u30ca\u30ea\u306e\u4e92\u63db\u6027\u304c\u4fdd\u6301\u3055\u308c\u307e\u3059\u3002 [12\u756a\u76ee] \u4e0d\u5b8c\u5168\u306a\u30ab\u30d7\u30bb\u30eb [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] C ++\u3067\u306f\u3001\u500b\u3005\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30e1\u30e2\u30ea\u9818\u57df\u306f\u3001\u6545\u610f\u307e\u305f\u306f\u5076\u767a\u7684\u306a\u76f8\u4e92\u5909\u5316\u3067\u4fdd\u8b77\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002 \u672a\u5b9a\u7fa9\u306e\u52d5\u4f5c [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u4e00\u90e8\u306e\u97f3\u58f0\u69cb\u9020\u306e\u52d5\u4f5c\u306f\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u3053\u308c\u306f\u3001\u6a19\u6e96\u304c\u305d\u306e\u3088\u3046\u306a\u5834\u5408\u306b\u4f55\u304c\u8d77\u3053\u308b\u304b\u3092\u6307\u5b9a\u3057\u305f\u308a\u63a8\u5968\u3057\u305f\u308a\u3057\u306a\u3044\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u52b9\u679c\u306f\u3001\u5b9f\u88c5\u306e\u4f9d\u5b58\u95a2\u4fc2\uff08\u3064\u307e\u308a\u3001\u30bf\u30fc\u30b2\u30c3\u30c8\u8a08\u7b97\u6a5f\u3068\u30b3\u30f3\u30d1\u30a4\u30e9\u306b\u5fdc\u3058\u3066\u3001\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30c8\u304c\u7570\u306a\u308b\u52d5\u4f5c\u3092\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\uff09\u304b\u3089\u3001\u7121\u610f\u5473\u306a\u7d50\u679c\u307e\u305f\u306f\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4e0b\u843d\u307e\u3067\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30ae\u30e3\u30c3\u30d7\u306b\u53ca\u3073\u307e\u3059\u3002\u30b3\u30f3\u30d1\u30a4\u30e9\u306e\u3053\u308c\u3089\u306e\u81ea\u7531\u306e\u3044\u304f\u3064\u304b\u306f\u3001\u30b3\u30fc\u30c9\u306e\u8ffd\u52a0\u306e\u6700\u9069\u5316\u3092\u53ef\u80fd\u306b\u3057\u307e\u3059\u3002 \u7570\u306a\u308b\u52d5\u4f5c\u304c\u3042\u308a\u307e\u3059 \u5225\u306e\u30b3\u30f3\u30d1\u30a4\u30e9 \u3055\u307e\u3056\u307e\u306a\u30b3\u30f3\u30d1\u30a4\u30e9\u30d0\u30fc\u30b8\u30e7\u30f3 \u3055\u307e\u3056\u307e\u306a\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\uff08ARM\u3001x86\u3001x64\uff09 \u3055\u307e\u3056\u307e\u306a\u6700\u9069\u5316\u8a2d\u5b9a\uff08\u30c7\u30d0\u30c3\u30b0\u3001\u30ea\u30ea\u30fc\u30b9\u3001\u6700\u9069\u5316\uff09 \u9078\u629e\u3057\u305f\u30b3\u30de\u30f3\u30c9\u3001\u30b3\u30fc\u30eb\u30b3\u30f3\u30d9\u30f3\u30b7\u30e7\u30f3\u306a\u3069\u3002 a\u3002 m\u3002 \u672a\u5b9a\u7fa9\u306e\u52d5\u4f5c\u3092\u5099\u3048\u305f\u30b3\u30fc\u30c9\u30d1\u30c3\u30bb\u30fc\u30b8\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f\u3001\u30b3\u30f3\u30d4\u30ec\u30fc\u30b7\u30e7\u30f3\u5f8c\u306b\u4e88\u671f\u3057\u306a\u3044\u4e0d\u6761\u7406\u306a\u52d5\u4f5c\u3092\u793a\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306b\u3057\u3066\u3001\u884c\u308f\u308c\u305f\u30c1\u30a7\u30c3\u30af\u306f\u9045\u3059\u304e\u308b\u3053\u3068\u306f\u3001\u7a7a\u306e\u7121\u9650\u306e\u30eb\u30fc\u30d7\u306b\u7f6e\u304d\u63db\u3048\u3089\u308c\u305f\u3001\u30a2\u30ec\u30a4\u306e\u7121\u52b9\u306a\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u65b9\u6cd5\u304c\u6700\u9069\u5316\u307e\u305f\u306f\u7814\u524a\u3055\u308c\u3066\u3044\u307e\u3059\u3002 [13] [14] \u305d\u308c\u306f\u3001\u7121\u52b9\u3067\u306f\u306a\u3044\u3060\u3051\u3067\u306a\u304f\u3001\u305d\u308c\u304c\u7121\u52b9\u3067\u3042\u308b\u672a\u5b9a\u7fa9\u306e\u884c\u52d5\u3092\u7406\u89e3\u3059\u308b\u305f\u3081\u306b\u7279\u306b\u91cd\u8981\u3067\u3059 \u30d7\u30ed\u30b0\u30e9\u30e0\u5168\u4f53 \u7121\u52b9\u306b\u306a\u308a\u3001\u3082\u306f\u3084\u3088\u304f\u5f62\u306eC ++\u3092\u8868\u3057\u307e\u305b\u3093\u3002\u305d\u306e\u7406\u7531\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u30bf\u30a4\u30d7\u306e\u300c\u672a\u5b9a\u7fa9\u306e\u52d5\u4f5c\u300d\u306f\u3001\u30d0\u30c3\u30d5\u30a1\u30fc\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u3084\u7121\u52b9\u306a\u7b97\u8853\u64cd\u4f5c\u306b\u3088\u3063\u3066\u5f15\u304d\u8d77\u3053\u3055\u308c\u305f\u30d7\u30ed\u30bb\u30c3\u30b5\u30d5\u200b\u200b\u30e9\u30b0\u306e\u610f\u56f3\u7684\u306a\u5909\u66f4\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u3001\u6b63\u3057\u3044\u30d7\u30ed\u30b0\u30e9\u30e0\u90e8\u5206\u3092\u542b\u3080\u5b8c\u5168\u306b\u7570\u306a\u308b\u3082\u306e\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u3001\u305d\u306e\u52d5\u4f5c\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u3001\u6b21\u306e\u8a08\u7b97\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3067\u3059\u3002 \u306e\u4f8b \u672a\u5b9a\u7fa9\u306e\u52d5\u4f5c \uff1a \u7f72\u540d\u3055\u308c\u305f\u6574\u6570\u306e\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\uff08\u305f\u3068\u3048\u3070\u3001\u5909\u63db\u3059\u308b\u3068\u304d\u3082 \u7f72\u540d\u3055\u308c\u3066\u3044\u306a\u3044int \u5f8c int \uff09\uff09 \u30bc\u30ed\u30dd\u30a4\u30f3\u30bf\u30fc\u30a4\u30f3\u30c7\u30f3\u30c8 \u7121\u52b9\u306a\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u5099\u3048\u305f\u914d\u5217\u30a2\u30af\u30bb\u30b9 \u30d7\u30c3\u30b7\u30e5\u3055\u308c\u308b\u30bf\u30a4\u30d7\u306e\u30d3\u30c3\u30c8\u6570\u304c\u8ca0\u307e\u305f\u306f\u5927\u304d\u3044\u30b9\u30e9\u30a4\u30c9\u5e45\u306e\u30b9\u30e9\u30a4\u30c9\u64cd\u4f5c \u7a4d\u5206\u30c7\u30fc\u30bf\u578b\u3092\u5099\u3048\u305f\u30bc\u30ed\u306b\u3088\u308b\u5206\u5272 \u304b\u3089\u96e2\u308c\u307e\u3059 \u623b\u308b – \u623b\u308a\u5024\u3092\u6301\u3064\u95a2\u6570\u5185\u306e\u30b9\u30bf\u30c3\u30b2\u30c3\u30c8\uff08\u30e1\u30a4\u30f3\u95a2\u6570 \u4e3b\u8981 \u552f\u4e00\u306e\u4f8b\u5916\u3092\u5f62\u6210\u3057\u307e\u3059\uff09 \u526f\u4f5c\u7528\u306f\u3001\u5f0f\u3067\u6570\u56de\u5909\u6570\u3092\u5909\u66f4\u3057\u307e\u3059\uff08 v [i] = i ++; \uff09\u307e\u305f\u306f\u5f15\u6570\u30ea\u30b9\u30c8\u3067\uff08 f\uff08i\u3001i ++\uff09; \uff09\u767a\u751f\u3059\u308b\uff08\u90e8\u5206\u8868\u73fe\u3068\u6a5f\u80fd\u7684\u8b70\u8ad6\u306e\u8a55\u4fa1\u9806\u5e8f\u306f\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\uff09 \u4e00\u65b9\u3067\u306f\u3001\u7d50\u679c\u3068\u3057\u3066\u751f\u3058\u308b\u975e\u6c7a\u5b9a\u7684\u306a\u7528\u8a9e\u306e\u52d5\u4f5c\u306f\u3001\u7279\u306b\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u5c0f\u3055\u306a\u5909\u66f4\u306e\u5834\u5408\u306f\u3001\u5c11\u306a\u304f\u3068\u3082\u30ea\u30b9\u30af\u3068\u3057\u3066\u5206\u985e\u3055\u308c\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u304c\u3001\u5b9f\u969b\u306b\u306f\u660e\u78ba\u306a\u4e0d\u5229\u306a\u70b9\u3068\u3057\u3066\u5206\u985e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u4e00\u65b9\u3001\u6709\u52b9\u6027\u30c1\u30a7\u30c3\u30af\u3092\u7701\u7565\u3067\u304d\u308b\u305f\u3081\u3001\u3088\u308a\u9ad8\u901f\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u53ef\u80fd\u306b\u306a\u308a\u3001\u30b3\u30f3\u30d1\u30a4\u30e9\u306f\u5b9a\u7fa9\u3068\u3057\u3066\u9650\u754c\u30b1\u30fc\u30b9\u3092\u7121\u8996\u3059\u308b\u3053\u3068\u3067\u30d7\u30ed\u30b0\u30e9\u30e0\u30d1\u30fc\u30c4\u3092\u6700\u9069\u5316\u3059\u308b\u3053\u3068\u3082\u3088\u304f\u3042\u308a\u307e\u3059\u3002 \u3057\u3070\u3057\u3070\u77e5\u899a\u3055\u308c\u306a\u3044\u5229\u70b9\u306f\u3001\u672a\u5b9a\u7fa9\u306e\u52d5\u4f5c\u304c\u975e\u5e38\u306b\u7591\u308f\u3057\u3044\u69cb\u6210\u8981\u7d20\u3067\u5b9f\u969b\u306b\u767a\u751f\u3059\u308b\u304c\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u4e2d\u306b\u5fc5\u305a\u3057\u3082\u6c7a\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u3068\u3044\u3046\u4e8b\u5b9f\u306f\u3001\u3042\u308b\u7a0b\u5ea6\u3001\u307e\u305f\u306f\u4ed6\u306e\u4ed6\u306e\u6e96\u6700\u9069\u306a\u30b3\u30fc\u30c9\u3092\u7981\u6b62\u3059\u308b\u3053\u3068\u3067\u3059\u3002 \u305f\u3068\u3048\u3070\u30012\u3064\u306e\u967d\u6027\u6574\u6570\u306e\u5408\u8a08\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3059\u308b\u9055\u6cd5\u306a\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059 a {displaystyle a} \u3068 b {displaystyle b} \u300cint\u300d\u306e\u30bf\u30a4\u30d7\u300cint\u300d\u306e\u640d\u5931\u306f\u306a\u304f\u3001\u5408\u8a08\u304c\u5927\u304d\u3044\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\uff08\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u304c\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u306e\u5834\u5408\u30012\u88dc\u4f53\u7b97\u8853\u306b\u3088\u308a\u307b\u3068\u3093\u3069\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u3067\u8ca0\u306e\u6570\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\uff09\u3002\u305f\u3060\u3057\u3001\u3053\u306e\u3088\u3046\u306a\u30ec\u30d3\u30e5\u30fc\u306f\u3001\u6570\u5b66\u7684\u306a\u89b3\u70b9\u304b\u3089\u306f\u7279\u306b\u5f79\u7acb\u3061\u307e\u305b\u3093\u3002\u3088\u308a\u826f\u3044\uff08\u3088\u308a\u30bb\u30de\u30f3\u30c6\u30a3\u30c3\u30af\u306a\uff09\u30a2\u30d7\u30ed\u30fc\u30c1\u306f\u3001 a + b \u2264 \u79c1 n t _ m a \u30d0\u30c4 {displaystyle a+bleq mathrm {int_max}} \u3001\u305d\u308c\u306b\u3088\u3063\u3066 \u79c1 n t _ m a \u30d0\u30c4 {displaystyle mathrm {int_max}} \u6570\u5b66\u7684\u306b\u6709\u52b9\u306a\u5909\u63db\u306b\u3088\u308b\u3068\u3001\u300cint\u300d\u6570\u3067\u6700\u5927\u306e\u3082\u306e\u306f a \u2264 \u79c1 n t _ m a \u30d0\u30c4 – b {displaystyle aleq mathrm {int_max} -b} \u4f7f\u7528\u3059\u308b\u3002 [15] c\u3068\u306e\u4e92\u63db\u6027 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9ec\u306e\u62e1\u6563\u306b\u57fa\u3065\u3044\u3066\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306b\u3001C ++\u306f1990\u5e74\u306b\u5f93\u3063\u3066C\u306e\u62e1\u5f35\u3068\u3057\u3066\u8a2d\u8a08\u3055\u308c\u307e\u3057\u305f\uff08ISO\/IEC 9899\uff1a1990\u3001C90\u3068\u3082\u547c\u3070\u308c\u307e\u3059\uff09\u3002 C\u306e\u5f37\u5236\u6027C ++\u3068\u306e\u4e92\u63db\u6027\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u6b20\u70b9\u3092\u7d99\u7d9a\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u306f\u3001\u6642\u306b\u306f\u7406\u89e3\u304c\u56f0\u96e3\u306aC-Syntax\u3001\u305d\u308c\u305e\u308c\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306b\u4f9d\u5b58\u3059\u308b\u8a00\u8a9e\u306e\u3055\u307e\u3056\u307e\u306a\u8a73\u7d30\u304c\u3042\u308b\u5834\u5408\u304c\u3042\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002 \u4e00\u90e8\u306eC\u8a00\u8a9e\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30c8\u306b\u306f\u3001C ++\u306e\u308f\u305a\u304b\u306b\u5909\u66f4\u3055\u308c\u305f\u610f\u5473\u307e\u305f\u306f\u69cb\u6587\u304c\u3042\u308b\u305f\u3081\u3001C ++\u30d7\u30ed\u30b0\u30e9\u30e0\u3068\u3057\u3066\u7ffb\u8a33\u3059\u308b\u306b\u306f\u3001\u6700\u521d\u306bC\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u8abf\u6574\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 C\u306e\u3055\u3089\u306a\u308b\u5909\u66f4\u306f\u30011999\u5e74\uff08ISO\/IEC 9899\uff1a1999\u3001\u5225\u540dC99\uff09\u304a\u3088\u30732011\u5e74\uff08ISO\/IEC 9899\uff1a2011\u3001\u5225\u540dC11\uff09\u306bC ++\u306e\u6700\u521d\u306e\u6a19\u6e96\u5316\u306e\u5f8c\u306b\u884c\u308f\u308c\u307e\u3057\u305f\u3002 C99\u306e\u9769\u65b0\u306e\u4e00\u90e8\u306f\u30012011\u5e74\u306eC ++\u6539\u8a02\u3067\u63a1\u7528\u3055\u308c\u307e\u3057\u305f\u3002\u4e00\u65b9\u3001C ++ 11\u3068\u3082\u4e92\u63db\u6027\u304c\u306a\u3044C\u6a19\u6e96\u306b\u65b0\u3057\u3044\u6a5f\u80fd\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u307e\u3059\u3002 \u8a73\u7d30\u306b\u8a00\u8a9e\u7279\u6027 [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] C ++\u306f\u3001ISO\/IEC 9899\uff1a1990\u306e\u3088\u3046\u306b\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9eC\u306b\u57fa\u3065\u3044\u3066\u3044\u307e\u3059\u3002 C\u3067\u5229\u7528\u53ef\u80fd\u306a\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u52a0\u3048\u3066\u3001C ++\u306f\u3001\u4ed6\u306e\u30c7\u30fc\u30bf\u578b\u3001\u65b0\u3057\u3044\u30bf\u30a4\u30d7\u306e\u5909\u66f4\u30aa\u30d7\u30b7\u30e7\u30f3\u3001\u591a\u91cd\u7d99\u627f\u3068\u4eee\u60f3\u95a2\u6570\u3001\u4f8b\u5916\u7684\u306a\u51e6\u7406\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\uff08\u30b9\u30c6\u30f3\u30b7\u30eb\uff09\u3001\u540d\u524d\u5ba4\u3001\u30aa\u30da\u30ec\u30fc\u30bf\u30fc\u304a\u3088\u3073\u6a5f\u80fd\u7684\u306a\u540d\u524d\u306e\u904e\u8ca0\u8377\u3001\u53c2\u7167\u3001\u52d5\u7684\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306e\u30aa\u30da\u30ec\u30fc\u30bf\u30fc\u3001\u6a19\u6e96\u7684\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306e\u30aa\u30da\u30ec\u30fc\u30bf\u30fc\u306e\u904e\u8ca0\u8377\u3001\u53c2\u7167\u8005\u3001\u30af\u30e9\u30b9\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002 \u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4f8b [ \u7de8\u96c6 | \u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059 ] \u6b21\u306e\u30bd\u30fc\u30b9\u30c6\u30ad\u30b9\u30c8\u306f\u3001\u6a19\u6e96\u306e\u51fa\u529b\u96fb\u6d41\u3001\u901a\u5e38\u306f\u7aef\u672b\u306b\u300cHello World\uff01\u300d\u3068\u3044\u3046\u5358\u7d14\u306aC ++\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059\u3002 \uff03\u542b\u3080 int \u4e3b\u8981 \uff08\uff09 { std :: cout "},{"@context":"http:\/\/schema.org\/","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"https:\/\/wiki.edu.vn\/all2jp\/wiki10\/#breadcrumbitem","name":"Enzyklop\u00e4die"}},{"@type":"ListItem","position":2,"item":{"@id":"https:\/\/wiki.edu.vn\/all2jp\/wiki10\/archives\/9281#breadcrumbitem","name":"C+ – \u30a6\u30a3\u30ad\u30da\u30c7\u30a3\u30a2"}}]}]