14 #ifndef RANGES_V3_VIEW_GETLINES_HPP
15 #define RANGES_V3_VIEW_GETLINES_HPP
23 #include <range/v3/utility/static_const.hpp>
26 #include <range/v3/detail/prologue.hpp>
43 using single_pass = std::true_type;
55 std::string & read()
const noexcept
63 bool equal(cursor that)
const
65 return !rng_->sin_ == !that.rng_->sin_;
70 if(!std::getline(*sin_, str_, delim_))
87 std::string & cached() noexcept
94 using getlines_range RANGES_DEPRECATED(
95 "getlines_range has been renamed getlines_view") =
getlines_view;
100 getlines_view operator()(std::istream & sin,
char delim =
'\n')
const
110 #include <range/v3/detail/epilogue.hpp>
RANGES_INLINE_VARIABLE(detail::to_container_fn< detail::from_range< std::vector >>, to_vector) template< template< typename... > class ContT > auto to(RANGES_HIDDEN_DETAIL(detail
For initializing a container of the specified type with the elements of an Range.
Definition: conversion.hpp:399
Definition: default_sentinel.hpp:26
Definition: getlines.hpp:99
Definition: getlines.hpp:33
A utility for constructing a view from a (derived) type that implements begin and end cursors.
Definition: facade.hpp:66