Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::dry_detail::SetSearchable Concept Reference

Container can be compared as a set: it has size(), a Key_Type and a search() that returns a pointer. More...

#include <ah-dry.H>

Concept definition

template<class Container>
requires(const Container & c, const typename Container::Key_Type & k)
{
c.size();
c.search(k) == nullptr;
}
Container can be compared as a set: it has size(), a Key_Type and a search() that returns a pointer.
Definition ah-dry.H:152
static int * k

Detailed Description

Container can be compared as a set: it has size(), a Key_Type and a search() that returns a pointer.

Template Parameters
Containerthe CRTP-derived container.

Definition at line 152 of file ah-dry.H.