Files
2025-10-25 03:02:53 +03:00

1.1 KiB

[forward.list.iter]

23 Containers library [containers]

23.3 Sequence containers [sequences]

23.3.7 Class template forward_list [forward.list]

23.3.7.3 Iterators [forward.list.iter]

🔗

constexpr iterator before_begin() noexcept; constexpr const_iterator before_begin() const noexcept; constexpr const_iterator cbefore_begin() const noexcept;

1

#

Effects: cbefore_begin() is equivalent toconst_cast<forward_list const&>(*this).before_begin().

2

#

Returns: A non-dereferenceable iterator that, when incremented, is equal to the iterator returned by begin().

3

#

Remarks: before_begin() == end() shall equal false.