48 const label next =
input.find(val, i+1);
52 duplicate[next] =
true;
88 const label next =
input.find(val, i+1);
92 duplicate[next] =
true;
97 output[count] = std::move(val);
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
A List of wordRe with additional matching capabilities.
void uniq()
Filter out duplicate entries (inplace).
static Istream & input(Istream &is, IntRange< T > &range)
static Ostream & output(Ostream &os, const IntRange< T > &range)
#define forAll(list, i)
Loop across all elements in list.