-
Notifications
You must be signed in to change notification settings - Fork 0
implier
Ned Bingham edited this page Mar 17, 2017
·
5 revisions
template <class ktype, class vtype> struct implier
Contains a key and value of different types to facilitate comparison, search, and sorting of mapped elements.
-
ktype key
is used to index value vtype value
implier()
is the default constructor, calling the default constructors of key
and value
.
implier(ktype k, vtype v)
sets key
to k
and value
to v
.
operator==(implier<ktype, vtype> i0, implier<ktype, vtype> i1)
operator!=(implier<ktype, vtype> i0, implier<ktype, vtype> i1)
operator<(implier<ktype, vtype> i0, implier<ktype, vtype> i1)
operator>(implier<ktype, vtype> i0, implier<ktype, vtype> i1)
operator<=(implier<ktype, vtype> i0, implier<ktype, vtype> i1)
operator>=(implier<ktype, vtype> i0, implier<ktype, vtype> i1)
Compares two impliers by comparing their key
member variables.
operator==(implier<ktype, vtype> i0, ktype i1)
operator!=(implier<ktype, vtype> i0, ktype i1)
operator<(implier<ktype, vtype> i0, ktype i1)
operator>(implier<ktype, vtype> i0, ktype i1)
operator<=(implier<ktype, vtype> i0, ktype i1)
operator>=(implier<ktype, vtype> i0, ktype i1)
operator==(ktype i0, implier<ktype, vtype> i1)
operator!=(ktype i0, implier<ktype, vtype> i1)
operator<(ktype i0, implier<ktype, vtype> i1)
operator>(ktype i0, implier<ktype, vtype> i1)
operator<=(ktype i0, implier<ktype, vtype> i1)
operator>=(ktype i0, implier<ktype, vtype> i1)
Compare an implier's key
to another key of the same type.