xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
collections
generic
enumerable.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
ienumerable.hpp
"
6
#include "../../raw_type"
7
#include <concepts>
8
10
namespace
xtd
{
12
namespace
collections
{
14
namespace
generic
{
15
// Since Doxygen does not work properly with the C++ concept, the documentation for this concept is declared in xtd/collections/generic/enumerable.hpp
16
template
<
typename
type_t>
17
concept
enumerable
=
18
requires
{
typename
xtd::raw_type<type_t>::value_type
;} &&
19
std::derived_from<xtd::raw_type<type_t>,
xtd::collections::generic::ienumerable<typename xtd::raw_type<type_t>::value_type
>>;
20
}
21
}
22
}
23
24
#include "
enumerable_value_type.hpp
"
xtd::collections::generic::ienumerable
Exposes the enumerator, which supports a simple iteration over a collection of a specified type.
Definition
ienumerable.hpp:40
xtd::collections::generic::enumerable
Definition
enumerable.hpp:17
enumerable_value_type.hpp
Contains xtd::collections::generic::enumerable_value_type alias.
ienumerable.hpp
Contains xtd::collections::generic::ienumerable <type_t> interface.
xtd::raw_type
std::remove_cvref_t< value_t > raw_type
Represents a raw type alias equivalent to std::remove_cvref_t<value_t>.
Definition
raw_type.hpp:25
xtd::collections::generic
The xtd::collections::generic namespace contains interfaces and classes that define generic collectio...
Definition
comparer.hpp:16
xtd::collections
The xtd::collections namespace contains interfaces and classes that define various collections of obj...
Definition
any_pair.hpp:10
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
Generated on
for xtd by
Gammasoft
. All rights reserved.