{"provider_url":"https://hatena.blog","height":"190","provider_name":"Hatena Blog","blog_title":"\u9591\u53e4\u9ce5","image_url":null,"title":"\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u3067\u306e\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u547c\u3073\u51fa\u3057","author_name":"wata_d","version":"1.0","type":"rich","blog_url":"https://www.little-cuckoo.jp/","author_url":"https://blog.hatena.ne.jp/wata_d/","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.little-cuckoo.jp%2Fentry%2F20050824%2F1124890796\" title=\"\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u3067\u306e\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u547c\u3073\u51fa\u3057 - \u9591\u53e4\u9ce5\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2005-08-24 22:39:56","description":"\u3084\u3084\u3053\u3057\u3044\u30bf\u30a4\u30c8\u30eb\u3067\u3059\u304c\u3001\u8981\u3059\u308b\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u306e\u3053\u3068\u3092\u6307\u3057\u3066\u3044\u307e\u3059\u3002 struct ctor { ctor() : m_num(0) { ctor(123); //< \u3053\u308c } ctor(int num) { m_num = num; } ~ctor() { std::cout << m_num << std::endl; } int m_num; }; void main() { ctor test; }\u30c7\u30d5\u30a9\u30eb\u30c8\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u4e2d (\u300c\u3053\u308c\u300d\u306e\u3068\u3053) \u3067\u3001\u5225\u306e\u5f15\u6570\u3092\u53d6\u308b\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u3092\u3055\u3082\u30e1\u30f3\u30d0\u95a2\u6570\u306e\u3088\u3046\u306b\u547c\u3073\u51fa\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u308c\u306f\u3001\u3084\u3063\u3066\u306f\u3044\u3051\u307e\u305b\u3093\u3002\u3044\u3084\u3001\u5225\u306b\u3084\u3063\u3066\u3082\u3044\u3044\u3093\u3067\u3059\u304c\u2026","categories":["programming","C++"],"url":"https://www.little-cuckoo.jp/entry/20050824/1124890796"}