StormByte 3.0.0
C++26 foundation of the StormByte suite
Loading...
Searching...
No Matches
StormByte::Safe::Detail::SafeCallbackArgument Concept Reference

Callback arguments admitted across a DLL boundary. More...

#include <StormByte/safe/function.hxx>

Concept definition

template<typename T>
(!std::is_reference_v<T> || (std::is_lvalue_reference_v<T> && std::is_const_v<std::remove_reference_t<T>>))
Callback arguments admitted across a DLL boundary.
Definition function.hxx:71
Recognized Safe component after stripping cv and references.
Definition safe.hxx:311
Value permitted in opaque Safe collections.
Definition safe.hxx:409

Detailed Description

Callback arguments admitted across a DLL boundary.

Template Parameters
TArgument type, as written in the callback signature.
Note
References are synchronous borrows and must be const lvalue references.