LLVM: llvm::detail::UniqueFunctionBase< ReturnT, ParamTs >::CallbacksHolder< CallableT, CalledAs (original) (raw)
llvm::detail::UniqueFunctionBase< ReturnT, ParamTs >::CallbacksHolder< CallableT, CalledAs > Struct Template Reference
#include "[llvm/ADT/FunctionExtras.h](FunctionExtras%5F8h%5Fsource.html)"
| Static Public Attributes | |
|---|---|
| static auto | Callbacks |
Detailed Description
template<typename ReturnT, typename... ParamTs>
template<typename CallableT, typename CalledAs>
struct llvm::detail::UniqueFunctionBase< ReturnT, ParamTs >::CallbacksHolder< CallableT, CalledAs >
Definition at line 233 of file FunctionExtras.h.
Member Data Documentation
◆ Callbacks
template<typename ReturnT, typename... ParamTs>
template<typename CallableT, typename CalledAs>
Initial value:
= []() constexpr {
if constexpr (std::is_trivially_move_constructible_v &&
std::is_trivially_destructible_v)
else
}()
static void MoveImpl(void *LHSCallableAddr, void *RHSCallableAddr) noexcept
static void DestroyImpl(void *CallableAddr) noexcept
static ReturnT CallImpl(void *CallableAddr, AdjustedParamT< ParamTs >... Params)
A struct we use to aggregate three callbacks when we need full set of operations.
A struct to hold a single trivial callback with sufficient alignment for our bitpacking.
Definition at line 234 of file FunctionExtras.h.
The documentation for this struct was generated from the following file:
- include/llvm/ADT/FunctionExtras.h