variable template
std::ranges::views::istream
- Header
<ranges>- Draft
- [iosfwd.syn]
- Scope
std::ranges::views- cppreference
- <ranges> nearest page
Synopsis
template<class T>
constexpr /* implementation-defined */ istream = {};Call signatures
istream is a function object; these are its call operators as libycxx declares them, written as the functions the draft declares.
- (1)
template<class E> requires requires { typename std::remove_cvref_t<E>::char_type; typename std::remove_cvref_t<E>::traits_type; } && std::derived_from<std::remove_cvref_t<E>, std::basic_istream<typename std::remove_cvref_t<E>::char_type, typename std::remove_cvref_t<E>::traits_type>> && requires(E& e) { std::ranges::basic_istream_view<T, typename std::remove_cvref_t<E>::char_type, typename std::remove_cvref_t<E>::traits_type>(e); } [[nodiscard]] constexpr auto istream(E&& e);