CHERIoT RTOS
A compartmentalised RTOS for CHERIoT hardware
Loading...
Searching...
No Matches
ds::linked_list::cell::HasIsSingleton Concept Reference

Additional, optional overrides available within implementation of cons cells. More...

#include <linked_list.h>

Concept definition

template<typename T>
concept HasIsSingleton = requires(T &t) {
{ t.cell_is_singleton() } -> std::same_as<bool>;
}
Additional, optional overrides available within implementation of cons cells.
Definition linked_list.h:62

Detailed Description

Additional, optional overrides available within implementation of cons cells.

It may be useful to static_assert() these in implementations to make sure we are not falling back to the defaults in terms of the above primops.

Definition at line 62 of file linked_list.h.