{"author_name":"Cryolite","height":"190","url":"https://blog.cryolite.net/entry/01000430/p1","width":"100%","categories":["C++","STL"],"published":"0100-04-30 00:00:00","provider_name":"Hatena Blog","image_url":null,"title":"std::copy\u3068std::copy_backward","blog_title":"Cry's Blog","type":"rich","blog_url":"https://blog.cryolite.net/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.cryolite.net%2Fentry%2F01000430%2Fp1\" title=\"std::copy\u3068std::copy_backward - Cry&#39;s Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"std::copy\u306f\u5165\u529b\u3068\u51fa\u529b\u304c\u30aa\u30fc\u30d0\u30fc\u30e9\u30c3\u30d7\u3057\u3066\u3044\u308b\u5834\u5408\uff0c\u6ce8\u610f\u3057\u3066\u4f7f\u7528\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\uff0e\u5165\u529b\u306e\u524d\u534a\u3068\u51fa\u529b\u306e\u5f8c\u534a\u304c\u30aa\u30fc\u30d0\u30fc\u30e9\u30c3\u30d7\u3057\u3066\u308b\u5834\u5408\u306e\u307f\uff0cstd::copy\u304c\u5b89\u5168\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\uff0e\u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5834\u5408std::copy\u306f\u5b89\u5168\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\uff0e int a[10] = {0,1,2,3,4,5,6,7,8,9}; std::copy(a + 1, a + 10, a); // a\u306f{1,2,3,4,5,6,7,8,9,9}\u3068\u306a\u308b\u3053\u306e\u3088\u3046\u306a\u30aa\u30fc\u30d0\u30fc\u30e9\u30c3\u30d7\u306b\u5bfe\u3057\u3066std::copy\u304c\u5b89\u5168\u306b\u9069\u7528\u3067\u304d\u308b\u306e\u306f\uff0cstd::copy\u304c\u5148\u982d\u304b\u3089\u9806\u306b\u8981\u7d20\u3092\u30b3\u30d4\u30fc\u3057\u3066\u3044\u304f\u3053\u3068\u3092\u4fdd\u8a3c\u3057\u3066\u3044\u308b\u304b\u3089\u3067\u3059\uff0e \u9006\u306b\u5165\u2026","author_url":"https://blog.hatena.ne.jp/Cryolite/","provider_url":"https://hatena.blog","version":"1.0"}