77 using Clone =
void* (*)(
const void*)
noexcept;
~Callback() noexcept
Invoke the creator-module release callback.
void *(*)(const void *) noexcept Clone
Clone the callback context in its creator module; null reports failure.
Definition callback.hxx:77
Callback(void *context, Invoke invoke, Clone clone, Release release)
Adopt a non-null context with non-null callbacks.
void(*)(void *) noexcept Release
Release the context in its creator module exactly once.
Definition callback.hxx:82
Callback(const Callback &other)=default
Deep-copy the context through its creator-module callback.
Status Call(const String &value) const noexcept
Invoke with borrowed UTF-8 text.
bool HasValue() const noexcept
Test whether a context is held.
Callback & operator=(Callback &&other) noexcept
Release old context and transfer.
Status(*)(void *, const String &) noexcept Invoke
Invoke with owned context and borrowed text.
Definition callback.hxx:72
Callback & operator=(const Callback &other)=default
Deep-copy the context with the strong guarantee.
Callback(Callback &&other) noexcept
Transfer context; source becomes empty.
Owned UTF-8 text.
Definition string.hxx:113
Owned values that cross a DLL without the caller's CRT.
Detail::Owner Owner
Public name for opaque state ownership through provider callbacks.
Definition owner.hxx:162
Status
Result of a collection operation; exceptions never leave its owner callback.
Definition owner.hxx:59
Root namespace of the StormByte suite.
Octet count. Defined in byte_size.hxx. Forwarded so Type::Numeral can name it.
Recognizes types whose DLL-boundary safety depends on documented provider requirements.
Definition safe.hxx:262
#define STORMBYTE_PUBLIC
Definition visibility.h:52