Skip to content

Using iterators instead of [i] #6

Description

@GoogleCodeExporter
What steps will reproduce the problem?
- Not applicable

What is the expected output? What do you see instead?
- Not applicable.

What version of the product are you using? On what operating system?
- Gentoo Linux amd64, 2.6.31

Please provide any additional information below.
- I checked out head from svn today (03 Dec 2009) and am finding this code
very useful. After going through the code, I find that all plot functions
use templates for storing data variable; however the [] operator used to
access individual data elements restricts templates to those containers
that define the [] operator (such as std::vector). It might be more useful
if elements are accessed using iterators instead as it will allow use of
greater range of containers.

Original issue reported on code.google.com by aditya.gadre@gmail.com on 3 Dec 2009 at 5:49

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions