coveo::linq
Implementation of .NET-like LINQ operators in C++
|
Concatenate two sequences. More...
Functions | |
template<typename Seq2 > | |
auto | coveo::linq::concat (Seq2 &&seq2) -> detail::concat_impl< Seq2 > |
Concatenates two sequences. More... | |
The concat
operator concatenates two sequences, producing a new sequence containing all elements from both source sequences.
.NET equivalent: Concat
auto coveo::linq::concat | ( | Seq2 && | seq2 | ) | -> detail::concat_impl<Seq2> |
Concatenates two sequences, producing a sequence that contains all elements from both source sequences.
For this to work, both source sequences must contain compatible elements.
The resulting sequence's elements will be const
if at least one source sequence's elements are const
.
Use like this:
seq2 | Second sequence to concatenate. |