{"width":"100%","version":"1.0","author_name":"hecomi","categories":["C++"],"blog_title":"\u51f9\u307fTips","provider_name":"Hatena Blog","blog_url":"https://tips.hecomi.com/","url":"https://tips.hecomi.com/entry/20110321/1300691095","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftips.hecomi.com%2Fentry%2F20110321%2F1300691095\" title=\"\u578b\u306e\u540d\u524d\u3092\u9759\u7684\u306b\u8abf\u3079\u308b - \u51f9\u307fTips\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u306f\u3058\u3081\u306b \u6b63\u76f4\uff0c\u4f55\u306e\u5f79\u306b\u3082\u7acb\u305f\u306a\u3044\u5185\u5bb9\u3067\u3059\u304c\uff0cBoost.Preprocessor \u306e\u51c4\u3055\u306f\u5206\u304b\u308b\u3068\u601d\u3044\u307e\u3059\uff0e \u30a4\u30f3\u30c8\u30ed \u578b\u3092\u8abf\u3079\u308b\uff01\u3068\u8a00\u3063\u305f\u3089 RTTI\uff08Run-Time Type Information: \u5b9f\u884c\u6642\u578b\u60c5\u5831\uff09\u3067\u3059\u306d\uff0eRTTI\u3092\u5f97\u308b\u305f\u3081\u306b\u306f typeid \u6f14\u7b97\u5b50\u3092\u4f7f\u3048\u3070 OK \u3067\u3059\uff0e #include <iostream> #include <vector> int main() { std::vector<int> v; std::cout << typeid(v).name() << std::endl; return 0; } // \u51fa\u529b\uff1a class std::vecto\u2026","provider_url":"https://hatena.blog","title":"\u578b\u306e\u540d\u524d\u3092\u9759\u7684\u306b\u8abf\u3079\u308b","type":"rich","height":"190","published":"2011-03-21 16:04:55","author_url":"https://blog.hatena.ne.jp/hecomi/"}