Skip to content

erase elements using iterators #57

Closed

Description

@nlohmann

Just as other containers, iterators should be used to identify the element to be deleted from a container.

Activity

  1. self-assigned this
    on Apr 9, 2015
  2. nlohmann commented on Apr 9, 2015

    @nlohmann
    OwnerAuthor
    • implement erase(pos) and erase(first, last) for array and object
    • implement erase(pos) and erase(first, last) for other values (only allowed for begin() iterator - would result in null object)
    • finish test cases
  3. added a commit that references this issue on Apr 11, 2015
  4. nlohmann commented on Apr 11, 2015

    @nlohmann
    OwnerAuthor

    Done.

  5. drewpts commented on Apr 12, 2015

    @drewpts

    Wow, thanks for such fast work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions