function object
std::ranges::ssize
- Header
<ranges>- Draft
- [range.prim.ssize]
- Scope
std::ranges- cppreference
- std::ranges::ssize
Synopsis
inline constexpr /* implementation-defined */ ssize = {};Call signatures
ssize 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 requires(T&& t) { std::ranges::size(t); } [[nodiscard]] constexpr auto ssize(T&& t) noexcept(noexcept(std::ranges::size(t)));