docs
Loading...
Searching...
No Matches
ultralight::js::LockableHolder

Whether or not H (ignoring const and references) is a weak holder: its ultralight::HolderTraits declares element_type and a Lock() that returns an owning holder. More...

#include <Ultralight/js/Holder.h>

Concept definition

template<typename H>
concept LockableHolder = requires(const std::remove_cvref_t<H>& h) {
typename HolderTraits<std::remove_cvref_t<H>>::element_type;
}
Lightweight mutex optimized for short locking periods.
Definition Lock.h:23
Whether or not H (ignoring const and references) is an owning holder: its ultralight::HolderTraits de...
Definition Holder.h:102
Whether or not H (ignoring const and references) is a weak holder: its ultralight::HolderTraits decla...
Definition Holder.h:113
Traits template that lets the library hold objects through custom smart pointers.
Definition HolderTraits.h:156

Detailed Description

Whether or not H (ignoring const and references) is a weak holder: its ultralight::HolderTraits declares element_type and a Lock() that returns an owning holder.