Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::v3::iota_view< Val, void > Struct Template Reference
+ Inheritance diagram for ranges::v3::iota_view< Val, void >:

Public Member Functions

constexpr iota_view (Val value)
 
- Public Member Functions inherited from ranges::v3::range_facade< iota_view< Val, void >, true >
detail::facade_iterator_t< D > begin ()
 
detail::facade_iterator_t< D const > begin () const
 
detail::facade_sentinel_t< D > end ()
 
detail::facade_sentinel_t< D const > end () const
 
- Public Member Functions inherited from ranges::v3::range_interface< Derived, Inf >
template<typename D = Derived, int _concept_requires___LINE__ = 42, typename std::enable_if< (_concept_requires___LINE__==43)||(Same< D, Derived >()&&BoundedRange< D >()&&BidirectionalRange< D >()), int >::type = 0>
range_reference_t< D > back ()
 Access the last element in a range:
 
template<typename D = Derived, int _concept_requires___LINE__ = 42, typename std::enable_if< (_concept_requires___LINE__==43)||(Same< D, Derived >()&&BoundedRange< D const >()&&BidirectionalRange< D const >()), int >::type = 0>
range_reference_t< D const > back () const
 
bool empty () const
 
template<typename D = Derived, int _concept_requires___LINE__ = 42, typename std::enable_if< (_concept_requires___LINE__==43)||(Same< D, Derived >()), int >::type = 0>
range_reference_t< D > front ()
 Access the first element in a range:
 
template<typename D = Derived, int _concept_requires___LINE__ = 42, typename std::enable_if< (_concept_requires___LINE__==43)||(Same< D, Derived >()), int >::type = 0>
range_reference_t< D const > front () const
 
 operator bool () const
 
template<typename Container , typename D = Derived, typename Alloc = typename Container::allocator_type, int _concept_requires___LINE__ = 42, typename std::enable_if< (_concept_requires___LINE__==43)||(detail::ConvertibleToContainer< D, Container >()), int >::type = 0>
 operator Container ()
 Implicit conversion to something that looks like a container.
 
template<typename Container , typename D = Derived, typename Alloc = typename Container::allocator_type, int _concept_requires___LINE__ = 42, typename std::enable_if< (_concept_requires___LINE__==43)||(detail::ConvertibleToContainer< D const, Container >()), int >::type = 0>
 operator Container () const
 
bool operator! () const
 
template<typename D = Derived, int _concept_requires___LINE__ = 42, typename std::enable_if< (_concept_requires___LINE__==43)||(Same< D, Derived >()&&RandomAccessRange< D >()), int >::type = 0>
auto operator[] (range_difference_t< D > n) -> decltype(std::declval< D & >().begin()[n])
 Simple indexing:
 
template<typename D = Derived, int _concept_requires___LINE__ = 42, typename std::enable_if< (_concept_requires___LINE__==43)||(Same< D, Derived >()&&RandomAccessRange< D const >()), int >::type = 0>
auto operator[] (range_difference_t< D > n) const -> decltype(std::declval< D const & >().begin()[n])
 
template<typename D = Derived, typename Slice = view::slice_fn, int _concept_requires___LINE__ = 42, typename std::enable_if< (_concept_requires___LINE__==43)||(Same< D, Derived >()), int >::type = 0>
auto operator[] (detail::slice_bounds< range_difference_t< D >> offs) -> decltype(std::declval< Slice >()(std::declval< D & >(), offs.from, offs.to))
 Python-ic slicing:
 
template<typename D = Derived, typename Slice = view::slice_fn, int _concept_requires___LINE__ = 42, typename std::enable_if< (_concept_requires___LINE__==43)||(Same< D, Derived >()), int >::type = 0>
auto operator[] (detail::slice_bounds< range_difference_t< D >> offs) const -> decltype(std::declval< Slice >()(std::declval< D const & >(), offs.from, offs.to))
 
template<typename D = Derived, typename Slice = view::slice_fn, int _concept_requires___LINE__ = 42, typename std::enable_if< (_concept_requires___LINE__==43)||(Same< D, Derived >()), int >::type = 0>
auto operator[] (detail::slice_bounds< range_difference_t< D >, detail::from_end_< range_difference_t< D >>> offs) -> decltype(std::declval< Slice >()(std::declval< D & >(), offs.from, offs.to))
 
template<typename D = Derived, typename Slice = view::slice_fn, int _concept_requires___LINE__ = 42, typename std::enable_if< (_concept_requires___LINE__==43)||(Same< D, Derived >()), int >::type = 0>
auto operator[] (detail::slice_bounds< range_difference_t< D >, detail::from_end_< range_difference_t< D >>> offs) const -> decltype(std::declval< Slice >()(std::declval< D const & >(), offs.from, offs.to))
 
template<typename D = Derived, typename Slice = view::slice_fn, int _concept_requires___LINE__ = 42, typename std::enable_if< (_concept_requires___LINE__==43)||(Same< D, Derived >()), int >::type = 0>
auto operator[] (detail::slice_bounds< detail::from_end_< range_difference_t< D >>, detail::from_end_< range_difference_t< D >>> offs) -> decltype(std::declval< Slice >()(std::declval< D & >(), offs.from, offs.to))
 
template<typename D = Derived, typename Slice = view::slice_fn, int _concept_requires___LINE__ = 42, typename std::enable_if< (_concept_requires___LINE__==43)||(Same< D, Derived >()), int >::type = 0>
auto operator[] (detail::slice_bounds< detail::from_end_< range_difference_t< D >>, detail::from_end_< range_difference_t< D >>> offs) const -> decltype(std::declval< Slice >()(std::declval< D const & >(), offs.from, offs.to))
 
template<typename D = Derived, typename Slice = view::slice_fn, int _concept_requires___LINE__ = 42, typename std::enable_if< (_concept_requires___LINE__==43)||(Same< D, Derived >()), int >::type = 0>
auto operator[] (detail::slice_bounds< range_difference_t< D >, end_fn > offs) -> decltype(std::declval< Slice >()(std::declval< D & >(), offs.from, offs.to))
 
template<typename D = Derived, typename Slice = view::slice_fn, int _concept_requires___LINE__ = 42, typename std::enable_if< (_concept_requires___LINE__==43)||(Same< D, Derived >()), int >::type = 0>
auto operator[] (detail::slice_bounds< range_difference_t< D >, end_fn > offs) const -> decltype(std::declval< Slice >()(std::declval< D const & >(), offs.from, offs.to))
 
template<typename D = Derived, typename Slice = view::slice_fn, int _concept_requires___LINE__ = 42, typename std::enable_if< (_concept_requires___LINE__==43)||(Same< D, Derived >()), int >::type = 0>
auto operator[] (detail::slice_bounds< detail::from_end_< range_difference_t< D >>, end_fn > offs) -> decltype(std::declval< Slice >()(std::declval< D & >(), offs.from, offs.to))
 
template<typename D = Derived, typename Slice = view::slice_fn, int _concept_requires___LINE__ = 42, typename std::enable_if< (_concept_requires___LINE__==43)||(Same< D, Derived >()), int >::type = 0>
auto operator[] (detail::slice_bounds< detail::from_end_< range_difference_t< D >>, end_fn > offs) const -> decltype(std::declval< Slice >()(std::declval< D const & >(), offs.from, offs.to))
 
template<typename D = Derived, int _concept_requires___LINE__ = 42>
range_size_t< D > size () const
 Access the size of the range, if it can be determined:
 

Additional Inherited Members

- Protected Types inherited from ranges::v3::range_facade< iota_view< Val, void >, true >
using range_facade_t = range_facade
 
- Protected Member Functions inherited from ranges::v3::range_facade< iota_view< Val, void >, true >
iota_view< Val, void > begin_cursor () const
 
default_sentinel end_cursor () const
 
- Protected Member Functions inherited from ranges::v3::range_interface< Derived, Inf >
Derivedderived ()
 
Derived const & derived () const
 
- Protected Attributes inherited from ranges::v3::range_facade< iota_view< Val, void >, true >
friend range_access