LLVM 22.0.0git
llvm::detail::UniqueFunctionBase< ReturnT, ParamTs >::CallbacksHolder< CallableT, CalledAs > Struct Template Reference

#include "llvm/ADT/FunctionExtras.h"

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 234 of file FunctionExtras.h.

Member Data Documentation

◆ Callbacks

template<typename ReturnT, typename... ParamTs>
template<typename CallableT, typename CalledAs>
auto llvm::detail::UniqueFunctionBase< ReturnT, ParamTs >::CallbacksHolder< CallableT, CalledAs >::Callbacks
inlinestatic
Initial value:
= []() constexpr {
if constexpr (std::is_trivially_move_constructible_v<CallableT> &&
std::is_trivially_destructible_v<CallableT>)
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 235 of file FunctionExtras.h.


The documentation for this struct was generated from the following file: