{"height":"190","author_url":"https://blog.hatena.ne.jp/jnst/","description":"\u308f\u304b\u308a\u306b\u304f\u3044\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u306b\u60a9\u307e\u3055\u308c\u3066\u6642\u9593\u3092\u7121\u99c4\u306b\u3059\u308b\u3053\u3068\u304c\u305f\u3073\u305f\u3073\u3042\u308a\u3001\uff16\u5ea6\u76ee\u304f\u3089\u3044\u3067\u30ab\u30c3\u3068\u306a\u3063\u3066\u8a18\u4e8b\u306b\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002\u9806\u6b21\u8ffd\u52a0\u3057\u3066\u3044\u304f\u3002 Member reference base type 'User *const' is not a structure or union \u4ee5\u4e0b\u306f std::vector \u306e\u4e2d\u304b\u3089\u6307\u5b9a\u306e name \u306b\u4e00\u81f4\u3059\u308b\u30e6\u30fc\u30b6\u30fc\u306e id \u3092\u53d6\u5f97\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3002 int findByName(std::vector<User*> users, const std::string& name) { auto user = std::find_if(users.beg\u2026","categories":["c++"],"provider_name":"Hatena Blog","published":"2017-01-10 18:51:06","url":"https://jnst.hateblo.jp/entry/2017/01/10/185106","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjnst.hateblo.jp%2Fentry%2F2017%2F01%2F10%2F185106\" title=\"C++\u7cde\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u96c6 - \u5c0b\u5e38\u3067\u306a\u3044\u3082\u3075\u3082\u3075\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://jnst.hateblo.jp/","width":"100%","blog_title":"\u5c0b\u5e38\u3067\u306a\u3044\u3082\u3075\u3082\u3075","type":"rich","author_name":"jnst","version":"1.0","image_url":null,"title":"C++\u7cde\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u96c6","provider_url":"https://hatena.blog"}