Feature/improve transformedrangeview
1 unresolved thread
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
Activity
mentioned in issue dune-grid#96
- Resolved by Ansgar Burchardt
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 changed this line in version 3 of the diff
added 1 commit
- 30c59a84 - Deduce return type of size() instead of hard-wireing std::size_t
mentioned in commit f4be6adb
Please register or sign in to reply