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

[utils] Implemented Enumerate iterator adapter (#28) #29

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Jul 24, 2022

  1. Configuration menu
    Copy the full SHA
    b2ecd9a View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2022

  1. [utils] Improved move semantics of enumerate

    - Removed class template specialization for rvalue reference by specifying storage type of container conditionally
    - Added tests for checking move semantic's work
    - Removed requirement of ::iterator type in container
    derzhavin3016 committed Aug 7, 2022
    Configuration menu
    Copy the full SHA
    e73eff3 View commit details
    Browse the repository at this point in the history
  2. [utils] Added const to enumerate iterator's count

    - To prevent changing of counter, made it const in reference & value type
    - Removed useless dummy_ variable because of errors while using it
    derzhavin3016 committed Aug 7, 2022
    Configuration menu
    Copy the full SHA
    6d407c5 View commit details
    Browse the repository at this point in the history
  3. [utils] Removed makeEnumerate

    - Replaced makeEnumerate w/ ctor with deduction hint
    - Added size method for enumerate
    derzhavin3016 committed Aug 7, 2022
    Configuration menu
    Copy the full SHA
    7d86497 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2022

  1. [utils] Added test + some fixes

    - Added test with constant container
    - Removed const from reference & value_type
    - Removed operator!= for EnumerateIt (generated by default)
    - Renamed Enumer -> Enumerate
    derzhavin3016 committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    5c870d9 View commit details
    Browse the repository at this point in the history