xtd 0.2.0
Loading...
Searching...
No Matches
enumerable.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "ienumerable.hpp"
6#include <concepts>
7#include <type_traits>
8
10namespace xtd {
12 namespace collections {
14 namespace generic {
34 template<class type_t>
35 concept enumerable =
36 requires {typename std::remove_cvref_t<type_t>::value_type;} &&
38 }
39 }
40}
41
Exposes the enumerator, which supports a simple iteration over a collection of a specified type.
Definition ienumerable.hpp:40
Definition enumerable.hpp:35
Contains xtd::collections::generic::enumerable_value_type alias.
Contains xtd::collections::generic::ienumerable <type_t> interface.
The xtd::collections::generic namespace contains interfaces and classes that define generic collectio...
Definition comparer.hpp:16
The xtd::collections namespace contains interfaces and classes that define various collections of obj...
Definition any_pair.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8