8#ifndef INCLUDED_BSLSTL_SETCOMPARATOR
9#define INCLUDED_BSLSTL_SETCOMPARATOR
143#include <bslscm_version.h>
168template <
class KEY,
class COMPARATOR>
169#ifdef BSLS_PLATFORM_CMP_MSVC
215 template <
class LOOKUP_KEY>
224 template <
class LOOKUP_KEY>
226 const LOOKUP_KEY& rhs);
240 template <
class LOOKUP_KEY>
249 template <
class LOOKUP_KEY>
251 const LOOKUP_KEY& rhs)
const;
269template <
class KEY,
class COMPARATOR>
282template <
class KEY,
class COMPARATOR>
285:
bslalg::FunctorAdapter<COMPARATOR>::Type()
289template <
class KEY,
class COMPARATOR>
293:
bslalg::FunctorAdapter<COMPARATOR>::Type(valueComparator)
298template <
class KEY,
class COMPARATOR>
299template <
class LOOKUP_KEY>
302 const LOOKUP_KEY& lhs,
305 return keyComparator()(lhs,
static_cast<const NodeType&
>(rhs).value());
308template <
class KEY,
class COMPARATOR>
309template <
class LOOKUP_KEY>
313 const LOOKUP_KEY& rhs)
316 return keyComparator()(
static_cast<const NodeType&
>(lhs).value(), rhs);
319template <
class KEY,
class COMPARATOR>
331template <
class KEY,
class COMPARATOR>
332template <
class LOOKUP_KEY>
335 const LOOKUP_KEY& lhs,
338 return keyComparator()(lhs,
static_cast<const NodeType&
>(rhs).value());
341template <
class KEY,
class COMPARATOR>
342template <
class LOOKUP_KEY>
346 const LOOKUP_KEY& rhs)
const
349 return keyComparator()(
static_cast<const NodeType&
>(lhs).value(), rhs);
352template <
class KEY,
class COMPARATOR>
359template <
class KEY,
class COMPARATOR>
367template <
class KEY,
class COMPARATOR>
Definition bslalg_functoradapter.h:228
CALLABLE_OBJECT Type
This typedef is an alias for the functor.
Definition bslalg_functoradapter.h:234
Definition bslalg_rbtreenode.h:376
static void swap(T *a, T *b)
Definition bslalg_swaputil.h:194
Definition bslstl_setcomparator.h:176
COMPARATOR & keyComparator()
Definition bslstl_setcomparator.h:354
bool operator()(const LOOKUP_KEY &lhs, const bslalg::RbTreeNode &rhs)
Definition bslstl_setcomparator.h:301
SetComparator(const SetComparator &)=default
~SapComparator()=default
Destroy this object.
void swap(SetComparator &other)
Definition bslstl_setcomparator.h:321
TreeNode< KEY > NodeType
This alias represents the type of node holding a KEY object.
Definition bslstl_setcomparator.h:189
SetComparator()
Definition bslstl_setcomparator.h:284
Definition bslstl_treenode.h:393
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
#define BSLS_UTIL_ADDRESSOF(OBJ)
Definition bsls_util.h:289
Definition bdlc_flathashmap.h:1805
Definition bslstl_algorithm.h:82