{"id":374,"date":"2011-06-27T04:20:06","date_gmt":"2011-06-26T19:20:06","guid":{"rendered":"http:\/\/dev.activebasic.com\/egtra\/?p=374"},"modified":"2015-05-05T23:57:18","modified_gmt":"2015-05-05T14:57:18","slug":"eastl%e3%82%92%e3%83%93%e3%83%ab%e3%83%89%e3%81%99%e3%82%8b%ef%bc%88cmake%e3%81%a7visual-studio%ef%bc%89","status":"publish","type":"post","link":"https:\/\/dev.activebasic.com\/egtra\/2011\/06\/27\/374\/","title":{"rendered":"EASTL\u3092\u30d3\u30eb\u30c9\u3059\u308b\uff08CMake\u3067Visual Studio\uff09"},"content":{"rendered":"<p>EASTL\u3092Visual Studio\u3067\u4f7f\u3048\u308b\u72b6\u614b\u306b\u6301\u3063\u3066\u884c\u304f\u8a71\u3067\u3059\u3002\u6025\u3044\u3067\u66f8\u3044\u305f\u306e\u3067\u3001\u6587\u7ae0\u304c\u3044\u3064\u3082\u306b\u5897\u3057\u3066\u8352\u3063\u307d\u3044\u3067\u3059\u304c\u304a\u8a31\u3057\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>EASTL\u5358\u4f53\u306f\u3001github\u306e<a href=\"https:\/\/github.com\/paulhodge\/EASTL\">paulhodge\/EASTL<\/a>\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u3053\u308c\u306b\u306fMakefile\u3082\u4f55\u3082\u3042\u308a\u307e\u305b\u3093\u306e\u3067\u3061\u3087\u3063\u3068\u56f0\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001fork\u3092\u898b\u3066\u307f\u308b\u3068\u3001CMake\u7528\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3057\u3066\u3044\u308b\u3082\u306e\u3092\u898b\u3064\u3051\u307e\u3057\u305f: <a href=\"https:\/\/github.com\/take-cheeze\/EASTL\">take-cheeze\/EASTL<\/a>\u3002CMake\u3092\u4f7f\u3048\u3070Visual Studio\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3082\u7c21\u5358\u306b\u751f\u6210\u3067\u304d\u308b\u306b\u9055\u3044\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306f\u3053\u3061\u3089\u3092\u4f7f\u3046\u3053\u3068\u306b\u3057\u307e\u3059\u3002CMake\u306b\u3064\u3044\u3066\u306f\u7279\u306b\u89e3\u8aac\u3057\u307e\u305b\u3093\u306e\u3067\u3001\u8208\u5473\u3042\u308b\u65b9\u306f\u5404\u81ea\u8abf\u3079\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<hr \/>\n<p>git clone\u3057\u3066\u3082\u3088\u3044\u306e\u3067\u3059\u304c\u3001\u4eca\u56de\u306f\u3068\u308a\u3042\u3048\u305a\u30a2\u30fc\u30ab\u30a4\u30d6\u306e\u5f62\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3057\u305f\u3002Downloads\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001tar.gz\u307e\u305f\u306fzip\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002\u9069\u5f53\u306a\u30d5\u30a9\u30eb\u30c0\u306b\u89e3\u51cd\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<div id=\"attachment_378\" style=\"width: 295px\" class=\"wp-caption alignright\"><a href=\"\/egtra\/wp-content\/uploads\/2011\/06\/github-downloads-button.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-378\" src=\"\/egtra\/wp-content\/uploads\/2011\/06\/github-downloads-button.png\" alt=\"github\u306eDownloads\u30dc\u30bf\u30f3\" title=\"github\u306eDownloads\u30dc\u30bf\u30f3\" width=\"285\" height=\"310\" class=\"size-full wp-image-378\" \/><\/a><p id=\"caption-attachment-378\" class=\"wp-caption-text\">github\u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u753b\u9762\u53f3\u5074\u306b\u306fDownloads\u30dc\u30bf\u30f3\u304c\u3042\u308b<\/p><\/div><\/p>\n<p>\u3055\u3066\u3001CMake\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<a href=\"http:\/\/www.cmake.org\/\">CMake &#8211; Cross Platform Make<\/a>\u304b\u3089Download\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001Windows (Win32 Installer)\u306e\u6b04\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\uff08\u79c1\u304c\u3084\u3063\u305f\u3068\u304d\u306fcmake-2.8.4-win32-x86.exe\u3067\u3057\u305f\uff09\u3002<\/p>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fEXE\u3092\u5b9f\u884c\u3059\u308b\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u59cb\u307e\u308a\u307e\u3059\u3002\u9014\u4e2d\u3001PATH\u306e\u8ffd\u52a0\u306b\u3064\u3044\u3066\u805e\u304b\u308c\u307e\u3059\u304c\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306eDo not add CMake to the system PATH\u3067\u826f\u3044\u3067\u3057\u3087\u3046\u3002<div id=\"attachment_375\" style=\"width: 321px\" class=\"wp-caption alignright\"><a href=\"\/egtra\/wp-content\/uploads\/2011\/06\/CMake-install-options-for-path.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-375\" src=\"\/egtra\/wp-content\/uploads\/2011\/06\/CMake-install-options-for-path.png\" alt=\"CMake\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d\u306ePATH\u306e\u8a2d\u5b9a\u3092\u805e\u304b\u308c\u308b\u753b\u9762\" title=\"CMake-install-options-for-path\" width=\"311\" height=\"199\" class=\"size-full wp-image-375\" \/><\/a><p id=\"caption-attachment-375\" class=\"wp-caption-text\">CMake\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306ePATH\u306e\u8a2d\u5b9a\u3092\u805e\u304b\u308c\u308b\u5834\u9762<\/p><\/div><\/p>\n<hr \/>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u30b9\u30bf\u30fc\u30c8\u2192\u30d7\u30ed\u30b0\u30e9\u30e0\u2192CMake 2.8\u2192CMake (cmake-gui)\u3067CMake\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<p>Where is the source code:\u306e\u6b04\u306b\u3055\u3063\u304d\u89e3\u51cd\u3057\u305f\u30d5\u30a9\u30eb\u30c0\uff08CMakeLists.txt\u3084EASTL.cmake\u304c\u3042\u308b\u30d5\u30a9\u30eb\u30c0\uff09\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002Browse Source&#8230;\u304b\u3089\u6307\u5b9a\u3059\u308b\u306e\u304c\u697d\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><div id=\"attachment_376\" style=\"width: 329px\" class=\"wp-caption alignright\"><a href=\"\/egtra\/wp-content\/uploads\/2011\/06\/CMake-selected-source-and-binaries.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-376\" src=\"\/egtra\/wp-content\/uploads\/2011\/06\/CMake-selected-source-and-binaries.png\" alt=\"CMake\u3067source code\u3068build the binaries\u3092\u5165\u529b\u3057\u305f\u6bb5\u968e\" title=\"CMake\u3067source code\u3068build the binaries\u3092\u5165\u529b\u3057\u305f\u69d8\u5b50\" width=\"319\" height=\"223\" class=\"size-full wp-image-376\" \/><\/a><p id=\"caption-attachment-376\" class=\"wp-caption-text\">CMake\u3067source code\u3068build the binaries\u3092\u5165\u529b\u3057\u305f\u6bb5\u968e<\/p><\/div>\u6b21\u306b\u3001Where to build the binaries\u3092\u5165\u529b\u3057\u307e\u3059\u3002\u3053\u3061\u3089\u306f\u51fa\u529b\u5148\uff08VS\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u306a\u3069\uff09\u304c\u7f6e\u304b\u308c\u308b\u30d5\u30a9\u30eb\u30c0\u306b\u306a\u308a\u307e\u3059\u3002\u753b\u50cf\u306b\u3042\u308b\u3088\u3046\u306b\u3001\u79c1\u306fsource code\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e0b\u306bbuild-msvc10\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>2\u3064\u3092\u5165\u529b\u3057\u305f\u3089\u3001Configure\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002Build directory\u3092\u4f5c\u6210\u3059\u308b\u304b\u3068\u805e\u304b\u308c\u305f\u3089Yes\u3092\u62bc\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002\u3059\u308b\u3068\u4f55\u3084\u3089\u4f5c\u696d\u304c\u59cb\u307e\u308a\u307e\u3059\u304c\u3001\u5c11\u3057\u7d4c\u3064\u3068\u6b62\u307e\u308a\u307e\u3059\u3002<div id=\"attachment_377\" style=\"width: 329px\" class=\"wp-caption alignright\"><a href=\"\/egtra\/wp-content\/uploads\/2011\/06\/CMake-configured.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-377\" src=\"\/egtra\/wp-content\/uploads\/2011\/06\/CMake-configured.png\" alt=\"CMake\u3067configured\u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u5f8c\u3001CMAKE_ISNTALL_PREFIX\u304c\u73fe\u308c\u308b\" title=\"CMake\u3067configured\u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u5f8c\" width=\"319\" height=\"223\" class=\"size-full wp-image-377\" \/><\/a><p id=\"caption-attachment-377\" class=\"wp-caption-text\">CMake\u3067configured\u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u5f8c\u3001CMAKE_ISNTALL_PREFIX\u304c\u73fe\u308c\u305f\u3068\u3053\u308d<\/p><\/div>\u3059\u308b\u3068\u3053\u3093\u306a\u98a8\u306bName\/Value\u306e\u6b04\u306b\u9805\u76ee\u304c\u5897\u3048\u3066\u3044\u307e\u3059\u3002CMAKE_ISNTALL_PREFIX\u3068\u3044\u3046\u3044\u304b\u306b\u3082\u306a\u540d\u524d\u3067\u3059\u304c\u3001\u7279\u306b\u6c17\u306b\u3059\u308b\u5fc5\u8981\u306f\u306a\u3055\u305d\u3046\u3067\u3059\u3002\u4f55\u304b\u9069\u5207\u306a\u5024\u3092\u8a2d\u5b9a\u3059\u3079\u304d\u304b\u306a\u3068\u601d\u3044\u3001\u753b\u50cf\u306e\u3088\u3046\u306bValue\u3092\u66f8\u304d\u63db\u3048\u3066\u304a\u304d\u307e\u3057\u305f\u304c\u3001\u3053\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea(P:\/EASTL)\u304c\u4f5c\u3089\u308c\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001Generate\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u65b0\u305f\u306a\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30d3\u30eb\u30c9\u306b\u4f55\u3092\u4f7f\u7528\u3059\u308b\u304b\u306e\u8a2d\u5b9a\u3067\u3059\u3002\u79c1\u306fVisual C++ 2010\u3092\u4f7f\u3046\u306e\u3067Visual Studio 10\u3092\u9078\u3073\u307e\u3059\u3002<div id=\"attachment_379\" style=\"width: 275px\" class=\"wp-caption alignright\"><a href=\"\/egtra\/wp-content\/uploads\/2011\/06\/cmake-specify-generator.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-379\" src=\"\/egtra\/wp-content\/uploads\/2011\/06\/cmake-specify-generator.png\" alt=\"CMake\u3067\u306egenerator\u3092\u6307\u5b9a\u3059\u308b\u30c0\u30a4\u30a2\u30ed\u30b0\" title=\"CMake\u3067\u306egenerator\u6307\u5b9a\" width=\"265\" height=\"160\" class=\"size-full wp-image-379\" \/><\/a><p id=\"caption-attachment-379\" class=\"wp-caption-text\">CMake\u3067\u306egenerator\u3092\u6307\u5b9a\u3059\u308b\u30c0\u30a4\u30a2\u30ed\u30b0<\/p><\/div><\/p>\n<p>CMake\u304c\u5b8c\u4e86\u3057\u305f\u69d8\u5b50\u306b\u306a\u3063\u305f\u3089build the binaries\u3067\u6307\u5b9a\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u3092\u958b\u304d\u307e\u3059\u3002EASTL.sln\u3084\u307b\u304b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb\u304c\u751f\u6210\u3055\u308c\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002EASTL.sln\u3092\u958b\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<hr \/>\n<p>\u3055\u3066\u3001\u3053\u3053\u3067Visual C++ 2010\u5bfe\u7b56\u306b\u5165\u308a\u307e\u3059\u3002EAWebKit\u52c9\u5f37\u4f1a\u4e2d\u3067\u3082\u8a71\u984c\u3068\u306a\u308a\u307e\u3057\u305f\u304c\u3001EABase\u5185\u306echar16_t\u3068char32_t\u3068\u3044\u3046typedef\u306e\u305b\u3044\u3067Visual C++ 2010\u3067\u306f\u30a8\u30e9\u30fc\u306b\u306a\u308b\u554f\u984c\u304c\u3042\u308a\u307e\u3059\u3002VC++ 2010\u3082\u540c\u3058\u540d\u524d\u306etypedef\u3092\u6301\u3063\u3066\u3044\u308b\u305f\u3081\u3067\u3059\u3002take-cheeze\u3055\u3093\u3082\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306b\u5bfe\u5fdc\u65b9\u6cd5\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u6b8b\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u305d\u308c\u306f\u305d\u308c\u3067\u554f\u984c\u304c\u3042\u308b\u3068\u601d\u3046\u306e\u3067\u79c1\u306f\u9055\u3046\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\uff08take-cheeze\u3055\u3093\u306e\u65b9\u6cd5\u306e\u554f\u984c\u306f\u6b21\u56de\u4ee5\u964d\u306e\u30a8\u30f3\u30c8\u30ea\u3067\uff09\u3002<\/p>\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8EASTL\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u958b\u304d\u307e\u3059\u3002\u69cb\u6210\u306e\u6b04\u3067\u300c\u3059\u3079\u3066\u306e\u69cb\u6210\u300d\u3092\u9078\u3073\u307e\u3059\u3002<\/p>\n<ul>\n<li>C\/C++\u2192\u30d7\u30ea\u30d7\u30ed\u30bb\u30c3\u30b5\u2192\u300c\u30d7\u30ea\u30d7\u30ed\u30bb\u30c3\u30b5\u306e\u5b9a\u7fa9\u300d\u306e\u6b04\u306b\u300cEA_COMPLER_IS_CPLUSPLUS_0X;\u300d\u3092\u4ed8\u3051\u8db3\u3057\u307e\u3059\u3002;\u304c\u533a\u5207\u308a\u306a\u306e\u3067\u3001\u5fd8\u308c\u306a\u3044\u3088\u3046\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<li>C\/C++\u2192\u8a73\u7d30\u8a2d\u5b9a\u2192\u300c\u5fc5\u305a\u4f7f\u7528\u3055\u308c\u308b\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u30d5\u30a1\u30a4\u30eb\u300d\u306b\u300cyvals.h\u300d\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u3064\u3044\u3067\u306b\u300c\u65e2\u5b9a\u30e9\u30a4\u30d6\u30e9\u30ea\u540d\u306e\u7701\u7565\u300d\u3092\u300c\u306f\u3044 (\/Zl)\u300d\u306b\u5909\u3048\u3066\u304a\u304f\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\uff08\u3053\u306e\u8aac\u660e\u3082\u6b21\u56de\u4ee5\u964d\uff09\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u306e\u3053\u3068\u304c\u6e08\u3093\u3060\u3089\u3001OK\u3092\u62bc\u3057\u3066\u9589\u3058\u307e\u3059\u3002\u3053\u3053\u307e\u3067Visual C++ 2010\u5bfe\u7b56\u3067\u3057\u305f\u3002<\/p>\n<p>\u306a\u304a\u3001Visual Studio 2005\u30842008\u306a\u3069\u30012010\u3088\u308a\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4f7f\u3063\u3066\u3044\u308b\u65b9\u3082\u3001\u4e0a\u8a18\u306e\u300c\u65e2\u5b9a\u30e9\u30a4\u30d6\u30e9\u30ea\u540d\u306e\u7701\u7565\u300d\u3092\u300c\u306f\u3044 (\/Zl)\u300d\u3068\u3059\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n<p>\u3042\u3068\u306f\u300c\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u306e\u30d3\u30eb\u30c9\u300d\u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u3059\u3002\u79c1\u306fDebug\u3068RelWithDebInfo\u306e2\u3064\u3092\u30d3\u30eb\u30c9\u3057\u307e\u3057\u305f\u3002\uff08Release\u3092\u9078\u3070\u306a\u304b\u3063\u305f\u7406\u7531\u306f\u3001\u79c1\u304c\u30ea\u30ea\u30fc\u30b9\u30d3\u30eb\u30c9\u3067\u3082\u30c7\u30d0\u30c3\u30b0\u60c5\u5831\u3092\u30aa\u30f3\u306b\u3059\u308b\u6d3e\u3060\u304b\u3089\u3067\u3059\uff09\u3002\u3067\u304d\u305f\u3089\u3001EASTL\u3092\u5c55\u958b\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08CMakeLists.txt\u304c\u3042\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff09\u306b\u623b\u308a\u307e\u3057\u3087\u3046\u3002contrib, include, src\u306e\u307b\u304b\u306blib\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u5897\u3048\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u4e2d\u306bLIB\u30d5\u30a1\u30a4\u30eb\u3068PDB\u30d5\u30a1\u30a4\u30eb\uff08\u30c7\u30d0\u30c3\u30b0\u60c5\u5831\uff09\u304c\u51fa\u6765\u4e0a\u304c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6700\u5f8c\u306bEASTL\u3092\u4f7f\u3046\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306e\u6ce8\u610f\u3067\u3059\u3002\u5148\u307b\u3069\u306einclude\u3092\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u8ffd\u52a0\u3057\u3001LIB\u30d5\u30a1\u30a4\u30eb\u3092\u30ea\u30f3\u30af\u3059\u308b\u3088\u3046\u8a2d\u5b9a\u3057\u305f\u3060\u3051\u3067\u306f\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002paulhodge\/EASTL\u306eREADME\u306b\u66f8\u304b\u308c\u3066\u3044\u308b\u3088\u3046\u306boperator new[]\u306e\u5b9a\u7fa9\u3092\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092<strong>EASTL\u3092\u4f7f\u7528\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b<\/strong>\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre lang=\"cpp\" line=\"1\" escaped=\"true\">#include &lt;new&gt;\r\n#define EA_COMPILER_IS_CPLUSPLUS_0X \/\/ Visual C++ 2010\u5bfe\u7b56\r\n#include &lt;EASTL\/vector.h&gt;\r\n\r\nvoid* operator new[](size_t size, const char* pName, int flags,\r\n    unsigned debugFlags, const char* file, int line)\r\n{\r\n    return operator new[](size);\r\n}\r\nvoid* operator new[](size_t size, size_t alignment, size_t alignmentOffset,\r\n    const char* pName, int flags, unsigned debugFlags, const char* file, int line)\r\n{\r\n    \/\/ doesn't support alignment\r\n    return operator new[](size);\r\n}\r\n\r\nvoid operator delete[](void* ptr, const char* pName, int flags,\r\n    unsigned debugFlags, const char* file, int line)\r\n{\r\n    operator delete[](ptr);\r\n}\r\nvoid operator delete[](void* ptr, size_t alignment, size_t alignmentOffset,\r\n    const char* pName, int flags, unsigned debugFlags, const char* file, int line)\r\n{\r\n    \/\/ doesn't support alignment\r\n    operator delete[](ptr);\r\n}<\/pre>\n<p>\u3082\u3068\u306eREADME\u3067\u306fmalloc\u3092\u4f7f\u3063\u305f\u5b9f\u88c5\u4f8b\u304c\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u8ffd\u3063\u304b\u3051\u308b\u3068char\u914d\u5217\u306b\u5bfe\u3059\u308bdelete[]\u3067\u89e3\u653e\u3057\u3066\u3044\u308b(EASTL\/allocator.h)\u306e\u3067\u3001\u3053\u306e\u3088\u3046\u306boperator new[]\u95a2\u6570\u3067\u78ba\u4fdd\u3059\u308b\u306e\u304c\u3088\u3044\u3068\u601d\u3044\u307e\u3059\u3002VC++\u3067\u306fmalloc\u3067\u3082\u4f55\u3082\u8d77\u3053\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u304c\u3001\u307b\u304b\u306e\u30b3\u30f3\u30d1\u30a4\u30e9\u3067\u306f\u8a33\u5206\u304b\u3089\u306a\u3044\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u3068\u3082\u306a\u308a\u304b\u306d\u307e\u305b\u3093\u3002<\/p>\n<p>\u3042\u3068\u3001\u5f15\u6570\u306e\u5bfe\u5fdc\u3059\u308bdelete[]\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u308b\u7406\u7531\u306f<a href=\"http:\/\/www.fides.dti.ne.jp\/~oka-t\/cpplab-placement-new-2.html\">C++ Labyrinth placement new \u3068 delete (2) &#8212; placement delete<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u307e\u305f\u3001Visual C++ 2010\u3067\u306f\u3001EASTL\u306e\u30d8\u30c3\u30c0\u3092\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u3059\u308b\u969b\u306b\u4e0a\u306e\u30b3\u30fc\u30c9\u306e\u3088\u3046\u306bEA_COMPILER_IS_CPLUSPLUS_0X\u3092\u5b9a\u7fa9\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>EASTL\u3092Visual Studio\u3067\u4f7f\u3048\u308b\u72b6\u614b\u306b\u6301\u3063\u3066\u884c\u304f\u8a71\u3067\u3059\u3002\u6025\u3044\u3067\u66f8\u3044\u305f\u306e\u3067\u3001\u6587\u7ae0\u304c\u3044\u3064\u3082\u306b\u5897\u3057\u3066\u8352\u3063\u307d\u3044\u3067\u3059\u304c\u304a\u8a31\u3057\u304f\u3060\u3055\u3044\u3002 EASTL\u5358\u4f53\u306f\u3001github\u306epaulhodge\/EASTL\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u3059 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5],"tags":[50,100,99,98,62],"class_list":["post-374","post","type-post","status-publish","format-standard","hentry","category-cpp","tag-cplusplus11","tag-cmake","tag-eastl","tag-eawebkit","tag-visual-cplusplus-2010"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>EASTL\u3092\u30d3\u30eb\u30c9\u3059\u308b\uff08CMake\u3067Visual Studio\uff09 - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d<\/title>\n<meta name=\"description\" content=\"EASTL\u3092Visual Studio\u3067\u4f7f\u3048\u308b\u72b6\u614b\u306b\u6301\u3063\u3066\u884c\u304f\u8a71\u3067\u3059\u3002\u6025\u3044\u3067\u66f8\u3044\u305f\u306e\u3067\u3001\u6587\u7ae0\u304c\u3044\u3064\u3082\u306b\u5897\u3057\u3066\u8352\u3063\u307d\u3044\u3067\u3059\u304c\u304a\u8a31\u3057\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dev.activebasic.com\/egtra\/2011\/06\/27\/374\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"EASTL\u3092\u30d3\u30eb\u30c9\u3059\u308b\uff08CMake\u3067Visual Studio\uff09 - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d\" \/>\n<meta property=\"og:description\" content=\"EASTL\u3092Visual Studio\u3067\u4f7f\u3048\u308b\u72b6\u614b\u306b\u6301\u3063\u3066\u884c\u304f\u8a71\u3067\u3059\u3002\u6025\u3044\u3067\u66f8\u3044\u305f\u306e\u3067\u3001\u6587\u7ae0\u304c\u3044\u3064\u3082\u306b\u5897\u3057\u3066\u8352\u3063\u307d\u3044\u3067\u3059\u304c\u304a\u8a31\u3057\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dev.activebasic.com\/egtra\/2011\/06\/27\/374\/\" \/>\n<meta property=\"og:site_name\" content=\"\u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ysk.noh\" \/>\n<meta property=\"article:published_time\" content=\"2011-06-26T19:20:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-05-05T14:57:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2011\/06\/github-downloads-button.png\" \/>\n<meta name=\"author\" content=\"egtra\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@egtra\" \/>\n<meta name=\"twitter:site\" content=\"@egtra\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"egtra\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/2011\/06\/27\/374\/\",\"url\":\"https:\/\/dev.activebasic.com\/egtra\/2011\/06\/27\/374\/\",\"name\":\"EASTL\u3092\u30d3\u30eb\u30c9\u3059\u308b\uff08CMake\u3067Visual Studio\uff09 - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d\",\"isPartOf\":{\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/#website\"},\"datePublished\":\"2011-06-26T19:20:06+00:00\",\"dateModified\":\"2015-05-05T14:57:18+00:00\",\"author\":{\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/#\/schema\/person\/8de756b2ff20b964f64594dfe8f18164\"},\"description\":\"EASTL\u3092Visual Studio\u3067\u4f7f\u3048\u308b\u72b6\u614b\u306b\u6301\u3063\u3066\u884c\u304f\u8a71\u3067\u3059\u3002\u6025\u3044\u3067\u66f8\u3044\u305f\u306e\u3067\u3001\u6587\u7ae0\u304c\u3044\u3064\u3082\u306b\u5897\u3057\u3066\u8352\u3063\u307d\u3044\u3067\u3059\u304c\u304a\u8a31\u3057\u304f\u3060\u3055\u3044\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/2011\/06\/27\/374\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dev.activebasic.com\/egtra\/2011\/06\/27\/374\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/2011\/06\/27\/374\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\/\/dev.activebasic.com\/egtra\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"EASTL\u3092\u30d3\u30eb\u30c9\u3059\u308b\uff08CMake\u3067Visual Studio\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/#website\",\"url\":\"https:\/\/dev.activebasic.com\/egtra\/\",\"name\":\"\u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d\",\"description\":\"\u982d\u306e\u4e2d\u306e\u304b\u3051\u3089\u3002ActiveBasic\u3092\u4e2d\u5fc3\u306b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u8a71\u3092\u307c\u3061\u307c\u3061\u3068\u3002\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dev.activebasic.com\/egtra\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/#\/schema\/person\/8de756b2ff20b964f64594dfe8f18164\",\"name\":\"egtra\",\"sameAs\":[\"https:\/\/x.com\/egtra\"],\"url\":\"https:\/\/dev.activebasic.com\/egtra\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"EASTL\u3092\u30d3\u30eb\u30c9\u3059\u308b\uff08CMake\u3067Visual Studio\uff09 - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d","description":"EASTL\u3092Visual Studio\u3067\u4f7f\u3048\u308b\u72b6\u614b\u306b\u6301\u3063\u3066\u884c\u304f\u8a71\u3067\u3059\u3002\u6025\u3044\u3067\u66f8\u3044\u305f\u306e\u3067\u3001\u6587\u7ae0\u304c\u3044\u3064\u3082\u306b\u5897\u3057\u3066\u8352\u3063\u307d\u3044\u3067\u3059\u304c\u304a\u8a31\u3057\u304f\u3060\u3055\u3044\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dev.activebasic.com\/egtra\/2011\/06\/27\/374\/","og_locale":"ja_JP","og_type":"article","og_title":"EASTL\u3092\u30d3\u30eb\u30c9\u3059\u308b\uff08CMake\u3067Visual Studio\uff09 - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d","og_description":"EASTL\u3092Visual Studio\u3067\u4f7f\u3048\u308b\u72b6\u614b\u306b\u6301\u3063\u3066\u884c\u304f\u8a71\u3067\u3059\u3002\u6025\u3044\u3067\u66f8\u3044\u305f\u306e\u3067\u3001\u6587\u7ae0\u304c\u3044\u3064\u3082\u306b\u5897\u3057\u3066\u8352\u3063\u307d\u3044\u3067\u3059\u304c\u304a\u8a31\u3057\u304f\u3060\u3055\u3044\u3002","og_url":"https:\/\/dev.activebasic.com\/egtra\/2011\/06\/27\/374\/","og_site_name":"\u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d","article_publisher":"https:\/\/www.facebook.com\/ysk.noh","article_published_time":"2011-06-26T19:20:06+00:00","article_modified_time":"2015-05-05T14:57:18+00:00","og_image":[{"url":"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2011\/06\/github-downloads-button.png"}],"author":"egtra","twitter_card":"summary_large_image","twitter_creator":"@egtra","twitter_site":"@egtra","twitter_misc":{"\u57f7\u7b46\u8005":"egtra","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/dev.activebasic.com\/egtra\/2011\/06\/27\/374\/","url":"https:\/\/dev.activebasic.com\/egtra\/2011\/06\/27\/374\/","name":"EASTL\u3092\u30d3\u30eb\u30c9\u3059\u308b\uff08CMake\u3067Visual Studio\uff09 - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d","isPartOf":{"@id":"https:\/\/dev.activebasic.com\/egtra\/#website"},"datePublished":"2011-06-26T19:20:06+00:00","dateModified":"2015-05-05T14:57:18+00:00","author":{"@id":"https:\/\/dev.activebasic.com\/egtra\/#\/schema\/person\/8de756b2ff20b964f64594dfe8f18164"},"description":"EASTL\u3092Visual Studio\u3067\u4f7f\u3048\u308b\u72b6\u614b\u306b\u6301\u3063\u3066\u884c\u304f\u8a71\u3067\u3059\u3002\u6025\u3044\u3067\u66f8\u3044\u305f\u306e\u3067\u3001\u6587\u7ae0\u304c\u3044\u3064\u3082\u306b\u5897\u3057\u3066\u8352\u3063\u307d\u3044\u3067\u3059\u304c\u304a\u8a31\u3057\u304f\u3060\u3055\u3044\u3002","breadcrumb":{"@id":"https:\/\/dev.activebasic.com\/egtra\/2011\/06\/27\/374\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dev.activebasic.com\/egtra\/2011\/06\/27\/374\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/dev.activebasic.com\/egtra\/2011\/06\/27\/374\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/dev.activebasic.com\/egtra\/"},{"@type":"ListItem","position":2,"name":"EASTL\u3092\u30d3\u30eb\u30c9\u3059\u308b\uff08CMake\u3067Visual Studio\uff09"}]},{"@type":"WebSite","@id":"https:\/\/dev.activebasic.com\/egtra\/#website","url":"https:\/\/dev.activebasic.com\/egtra\/","name":"\u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d","description":"\u982d\u306e\u4e2d\u306e\u304b\u3051\u3089\u3002ActiveBasic\u3092\u4e2d\u5fc3\u306b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u8a71\u3092\u307c\u3061\u307c\u3061\u3068\u3002","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dev.activebasic.com\/egtra\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/dev.activebasic.com\/egtra\/#\/schema\/person\/8de756b2ff20b964f64594dfe8f18164","name":"egtra","sameAs":["https:\/\/x.com\/egtra"],"url":"https:\/\/dev.activebasic.com\/egtra\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/posts\/374"}],"collection":[{"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/comments?post=374"}],"version-history":[{"count":0,"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/posts\/374\/revisions"}],"wp:attachment":[{"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/media?parent=374"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/categories?post=374"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/tags?post=374"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}