Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Упростить интерфейс ленивых операций над диапазонами #116

Closed
izvolov opened this issue Jun 20, 2020 · 0 comments
Assignees

Comments

@izvolov
Copy link
Owner

izvolov commented Jun 20, 2020

Можно не конструировать диапазон диапазонов явно, а передавать в функции (например, merge) кортеж ссылок на исходные диапазоны, и уже из них создавать ленивый диапазон диапазонов:

auto merged = burst::merge(std::tie(first, second, third));
@izvolov izvolov self-assigned this Jun 20, 2020
izvolov added a commit that referenced this issue Jun 26, 2020
izvolov added a commit that referenced this issue Jun 26, 2020
izvolov added a commit that referenced this issue Jun 27, 2020
izvolov added a commit that referenced this issue Jul 3, 2020
@izvolov izvolov closed this as completed Jul 3, 2020
izvolov added a commit that referenced this issue Jul 26, 2020
Новое:

-   Упрощённый интерфейс (через `std::tie`) для ленивых операций с множествами;

-   Метафункции:

    *   are_same
    *   minimum_category
    *   range_category
    *   range_iterator
    *   range_reference
    *   range_value

Изменения:

-   Метафункции для итераторов сменили место жительства на `burst/type_traits`:

    *   iterator_category
    *   iterator_difference
    *   iterator_pointer
    *   iterator_reference
    *   iterator_value
izvolov added a commit that referenced this issue Jul 26, 2020
Новое:

-   Упрощённый интерфейс (через `std::tie`) для ленивых операций с множествами;

-   Метафункции:

    *   are_same
    *   minimum_category
    *   range_category
    *   range_iterator
    *   range_reference
    *   range_value

Изменения:

-   Метафункции для итераторов сменили место жительства на `burst/type_traits`:

    *   iterator_category
    *   iterator_difference
    *   iterator_pointer
    *   iterator_reference
    *   iterator_value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant