Skip to content
Snippets Groups Projects

Feature/improve transformedrangeview

Merged Carsten Gräser requested to merge feature/improve-transformedrangeview into master
1 unresolved thread
  • Fix typos in documentation
  • Improve documentation
  • Export untransformed raw range type
  • Export untransformed raw range
  • Conditionally implemented size() if the underlying raw range does
  • Add test for size()

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 1 commit

    Compare with previous version

  • 654 668 return iterator(rawRange_.end(), &f_);
    655 669 }
    656 670
    671 /**
    672 * \brief Obtain the size of the range
    673 *
    674 * This is only available if the underlying range
    675 * provides a size() method. In this case size()
    676 * just forwards to the underlying range's size() method.
    677 *
    678 * Attention: Don't select the template parameters explicitly.
    679 * They are only used to implement SFINAE.
    680 */
    681 template<class Dummy=R,
    682 class = void_t<decltype(std::declval<Dummy>().size())>>
    683 std::size_t size() const
  • added 1 commit

    • 30c59a84 - Deduce return type of size() instead of hard-wireing std::size_t

    Compare with previous version

  • Carsten Gräser mentioned in commit f4be6adb

    mentioned in commit f4be6adb

  • Please register or sign in to reply
    Loading