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

Whether or not H (ignoring const and references) is an owning holder: its ultralight::HolderTraits declares element_type, kind, and Get(). More...

#include <Ultralight/js/Holder.h>

Concept definition

template<typename H>
concept Holder = requires(const std::remove_cvref_t<H>& h) {
typename HolderTraits<std::remove_cvref_t<H>>::element_type;
{ HolderTraits<std::remove_cvref_t<H>>::kind } -> std::convertible_to<HolderKind>;
}
Whether or not H (ignoring const and references) is an owning holder: its ultralight::HolderTraits de...
Definition Holder.h:102
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 an owning holder: its ultralight::HolderTraits declares element_type, kind, and Get().