function object
std::ranges::begin
- Header
<ranges>- Draft
- [range.access.begin]
- Scope
std::ranges- cppreference
- std::ranges::begin
Synopsis
inline constexpr /* implementation-defined */ begin = {};Call signatures
begin is a function object; these are its call operators as libycxx declares them, written as the functions the draft declares.
- (1)
template<class T> requires maybe-borrowed<T> && (std::is_array_v<std::remove_reference_t<T>> || member<T> || adl<T>) [[nodiscard]] constexpr auto begin(T&& t) noexcept(nothrow<T>());