Skip to content

Use testing iterator wrappers to ensure that algorithms support their stated requirements #679

@jaredhoberock

Description

@jaredhoberock

Since InputIterators can't be dereferenced multiple times we shouldn't implement algorithms like copy_if(first, last, output, pred) with copy_if(first, last, first, output, pred).

In general the unit tests should check InputIterator semantic correctness.

Forwarded from http://code.google.com/p/thrust/issues/detail?id=419

Metadata

Metadata

Assignees

No one assigned

    Labels

    thrustFor all items related to Thrust.

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions