{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20101004%2Fp1\" title=\"reversed - inamori\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","author_name":"inamori","description":"vector\u3092\u9006\u9806\u306b\u51fa\u3057\u307e\u3059\u3002 template<typename T> class cReversed : public cIterable<T> { const vector<T> v; typename vector<T>::const_reverse_iterator p; bool first; public: cReversed(const vector<T>& w) : v(w), first(true) { } bool exists_next() { if(first) { first = false; p = v.rbegin(); } else { ++p; } retu\u2026","version":"1.0","image_url":null,"blog_url":"https://inamori.hateblo.jp/","blog_title":"inamori\u2019s diary","url":"https://inamori.hateblo.jp/entry/20101004/p1","title":"reversed","type":"rich","categories":["C++"],"provider_url":"https://hatena.blog","published":"2010-10-04 00:00:00","height":"190","width":"100%","author_url":"https://blog.hatena.ne.jp/inamori/"}