xtd
0.2.0
Loading...
Searching...
No Matches
xtd.core
include
xtd
linq
foreach.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
from.hpp
"
6
8
namespace
xtd
{
10
namespace
linq
{
11
}
12
}
13
34
#define foreach_(item, ...) \
35
if (const auto& __enumerable__ = xtd::linq::from(__VA_ARGS__); true) \
36
for (auto __break__ = 0; __break__ == 0; __break__ = 1) \
37
for (auto enumerator = __enumerable__.get_enumerator(); __break__ == 0 && enumerator.move_next();) \
38
if (auto __continue__ = 1; __break__ == 0 && __continue__ > 0) \
39
for (item = enumerator.current(); __continue__-- && ++__break__; __break__ = 0)
from.hpp
Contains xtd::linq::from methods.
xtd::linq
Provides classes and interfaces that support queries that use Language-Integrated Query (LINQ).
Definition
enumerable.hpp:45
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
Generated on Sun Aug 31 2025 20:45:32 for xtd by
Gammasoft
. All rights reserved.