Skip to content

range-based iteration over linq expression without to_vector() #12

Open
@PhilippC

Description

@PhilippC

maybe this is possible already, but I haven't found out how.

If I have a

auto my_elements = linq::from().where(...).select(..);

how can I iterate over those?

Currently I am doing

for (auto el: my_elements.to_vector())

but that seems inefficient. Is there a way to return an iterator pair from my_elements?

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