Concatenation Operators - cemderv/linq GitHub Wiki
append()
Appends a range to the current range.
Signature:
template <typename TOtherRange>
range append(const TOtherRange& otherRange) const;
Example:
const vector numbers1 { 1, 2, 3 };
const vector numbers2 { 4, 5, 6 };
auto range = linq::from(&numbers1)
.append(linq::from(&numbers2));
for (const int i : range) {
print("{} ", i);
}
Output: 1 2 3 4 5 6