xtd
0.2.0
Loading...
Searching...
No Matches
xtd.core
include
xtd
foreach.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
linq/from.hpp
"
6
27
#define foreach_(item, ...) \
28
if (const auto& __enumerable__ = xtd::linq::from(__VA_ARGS__); true) \
29
for (auto __break__ = 0; __break__ == 0; __break__ = 1) \
30
for (auto enumerator = __enumerable__.get_enumerator(); __break__ == 0 && enumerator.move_next();) \
31
if (auto __continue__ = 1; __break__ == 0 && __continue__ > 0) \
32
for (item = enumerator.current(); __continue__-- && ++__break__; __break__ = 0)
from.hpp
Contains xtd::linq::from methods.
Generated on
for xtd by
Gammasoft
. All rights reserved.