{"comment":{"url":"https://api.github.com/repos/ykonopaka/c-excercises/comments/10024284","html_url":"https://github.com/ykonopaka/c-excercises/commit/d6136258eb504d7065d85f2a7d9836ebaf6c9ee7#commitcomment-10024284","id":10024284,"user":{"login":"maciekgajewski","id":1903794,"avatar_url":"https://avatars.githubusercontent.com/u/1903794?v=3","gravatar_id":"","url":"https://api.github.com/users/maciekgajewski","html_url":"https://github.com/maciekgajewski","followers_url":"https://api.github.com/users/maciekgajewski/followers","following_url":"https://api.github.com/users/maciekgajewski/following{/other_user}","gists_url":"https://api.github.com/users/maciekgajewski/gists{/gist_id}","starred_url":"https://api.github.com/users/maciekgajewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maciekgajewski/subscriptions","organizations_url":"https://api.github.com/users/maciekgajewski/orgs","repos_url":"https://api.github.com/users/maciekgajewski/repos","events_url":"https://api.github.com/users/maciekgajewski/events{/privacy}","received_events_url":"https://api.github.com/users/maciekgajewski/received_events","type":"User","site_admin":false},"position":19,"line":18,"path":"string/string.cc","commit_id":"d6136258eb504d7065d85f2a7d9836ebaf6c9ee7","created_at":"2015-03-04T08:30:57Z","updated_at":"2015-03-04T08:30:57Z","body":"This would work, but is a bit hackish. Normally, no-one should dereference the 'end' iterator. \r\nIn this case you know the implementation of the iterator, and you know for sure that there is one extra element, so it's OK."}}