MimIR 0.1
MimIR is my Intermediate Representation
|
#include <mim/util/sets.h>
Classes | |
class | iterator |
Public Member Functions | |
Construction | |
constexpr | Set (const Set &) noexcept=default |
constexpr | Set (Set &&) noexcept=default |
constexpr | Set () noexcept=default |
Null set. | |
constexpr | Set (D *d) noexcept |
Uniq set. | |
constexpr Set & | operator= (const Set &) noexcept=default |
Getters | |
constexpr size_t | size () const noexcept |
constexpr bool | empty () const noexcept |
Is empty? | |
constexpr | operator bool () const noexcept |
Not empty? | |
Check Membership | |
bool | contains (D *d) const noexcept |
Is ![]() | |
bool | has_intersection (Set other) const noexcept |
Is ![]() | |
Iterators | |
constexpr iterator | begin () const noexcept |
constexpr iterator | end () const noexcept |
Comparisons | |
constexpr bool | operator== (Set other) const noexcept |
constexpr bool | operator!= (Set other) const noexcept |
Output | |
std::ostream & | stream (std::ostream &os) const |
void | dump () const |
Friends | |
class | Sets |
std::ostream & | operator<< (std::ostream &os, Set set) |
|
constexprdefaultnoexcept |
|
constexprdefaultnoexcept |
Null set.
|
inlineconstexprnoexcept |
|
inline |
|
inlineconstexprnoexcept |
Is empty?
Definition at line 235 of file sets.h.
Referenced by has_intersection(), mim::Def::is_closed(), mim::Def::is_open(), and mim::VarRewriter::rewrite_imm().
|
inlinenodiscardnoexcept |
Is
Definition at line 262 of file sets.h.
References contains(), and empty().
Referenced by mim::Nest::contains(), and mim::plug::clos::ClosConvPrep::from_outer_scope().
|
constexprdefaultnoexcept |
|
inlineconstexprnoexcept |
|
inline |
Definition at line 339 of file sets.h.
Referenced by dump(), and operator<<.
|
friend |
|
friend |