#include <initializer_list>
#include <iosfwd>
#include <vector>
Include dependency graph for CharacterSet.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | CharacterSet |
optimized set of C chars, with quick membership test and merge support More... | |
Functions | |
CharacterSet | operator+ (CharacterSet lhs, const CharacterSet &rhs) |
CharacterSet | operator- (CharacterSet lhs, const CharacterSet &rhs) |
std::ostream & | operator<< (std::ostream &, const CharacterSet &) |
Function Documentation
◆ operator+()
CharacterSet operator+ | ( | CharacterSet | lhs, |
const CharacterSet & | rhs | ||
) |
CharacterSet addition
- Returns
- a new CharacterSet containing all characters present both in lhs and rhs, labeled as lhs is
Definition at line 117 of file CharacterSet.cc.
◆ operator-()
CharacterSet operator- | ( | CharacterSet | lhs, |
const CharacterSet & | rhs | ||
) |
CharacterSet subtraction
- Returns
- a new CharacterSet containing all characters present in lhs and not present in rhs, labeled as lhs is
Definition at line 124 of file CharacterSet.cc.
◆ operator<<()
std::ostream & operator<< | ( | std::ostream & | s, |
const CharacterSet & | c | ||
) |
Definition at line 130 of file CharacterSet.cc.
References CharacterSet::name.