6#define __XTD_STD_INTERNAL__
8#undef __XTD_STD_INTERNAL__
11#if defined(__xtd__cpp_lib_ranges)
27 template <
typename range_t>
28 class __xtd_range_view_adapter__ :
public xtd::istringable {
30 explicit __xtd_range_view_adapter__(range_t&& range) : range(std::move(range)) {}
31 auto begin() {
return range.begin();}
32 auto end() {
return range.end();}
33 auto begin()
const {
return range.begin();}
34 auto end()
const {
return range.end();}
35 auto cbegin()
const {
return range.begin();}
36 auto cend()
const {
return range.end();}
Contains __xtd_std_version definitions.
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
The view namesapce contains range views, lightweight objects that indirectly represent iterable seque...
Definition distinct.hpp:20
The ranges namespace is an extension and generalization of the xtd::linq that makes them more powerfu...
Definition distinct.hpp:18
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
const_iterator begin() const
Returns an iterator to the beginning.
Definition read_only_span.hpp:183
const_iterator cbegin() const
Returns an iterator to the beginning.
Definition read_only_span.hpp:187
string to_string() const noexcept override
Returns the string representation of this xtd::read_only_span <type_t> object.
Definition read_only_span.hpp:375
const_iterator end() const
Returns an iterator to the end.
Definition read_only_span.hpp:213
const_iterator cend() const
Returns an iterator to the end.
Definition read_only_span.hpp:190