{"blog_url":"https://jeneshicc.hatenadiary.org/","height":"190","author_url":"https://blog.hatena.ne.jp/jeneshicc/","categories":["\u65e5\u8a18","C++","Memo"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjeneshicc.hatenadiary.org%2Fentry%2F20100212%2F1265978637\" title=\"C++ \u304b\u3093\u3059\u3046\u306a\u3044\u304b\u3093\u3059\u3046 \u306a\u3044 - \u843d\u66f8\u304d\u3001\u6642\u3005\u843d\u5b66\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"title":"C++ \u304b\u3093\u3059\u3046\u306a\u3044\u304b\u3093\u3059\u3046 \u306a\u3044","provider_url":"https://hatena.blog","blog_title":"\u843d\u66f8\u304d\u3001\u6642\u3005\u843d\u5b66","width":"100%","published":"2010-02-12 21:43:57","type":"rich","description":"C++ \u306b\u306f\u95a2\u6570\u5185\u95a2\u6570\u304c\u306a\u3044\u3089\u3057\u3044\uff0e struct\u4f7f\u3048\u3070\uff0c\u4f3c\u975e\u95a2\u6570\u5185\u95a2\u6570\u306f\u4f5c\u308c\u308b\u304c\uff0c \u3053\u306e\u4f3c\u975e\u95a2\u6570\u5185\u95a2\u6570\u306f\u89aa\u95a2\u6570\u306e\u5909\u6570\u306b\u89e6\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u3044\uff0e\u4f8b\u3048\u3070\uff0c\u4ee5\u4e0b\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\uff0e // test.cpp int main() { int c = 0; struct Func { void operator () () { c ++; } } f; f(); return 0; } \u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u3068\uff0c\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\uff0e % g++ -O2 -o a.out test.cpp test.cpp: In member function \u2018void main()::Fu\u2026","author_name":"jeneshicc","provider_name":"Hatena Blog","version":"1.0","url":"https://jeneshicc.hatenadiary.org/entry/20100212/1265978637"}