Go to the documentation of this file.
15 #ifndef ABSL_CLEANUP_INTERNAL_CLEANUP_H_
16 #define ABSL_CLEANUP_INTERNAL_CLEANUP_H_
19 #include <type_traits>
22 #include "absl/base/internal/invoke.h"
23 #include "absl/base/macros.h"
24 #include "absl/base/thread_annotations.h"
25 #include "absl/utility/utility.h"
30 namespace cleanup_internal {
34 template <
typename Arg,
typename...
Args>
37 (
sizeof...(Args) == 0);
40 template <
typename Callback>
45 template <
typename Callback>
64 other.DestroyCallback();
100 #endif // ABSL_CLEANUP_INTERNAL_CLEANUP_H_
bool IsCallbackEngaged() const
constexpr bool ReturnsVoid()
constexpr bool WasDeduced()
Storage(Callback callback)
#define ABSL_NAMESPACE_END
Arg(64) -> Arg(128) ->Arg(256) ->Arg(512) ->Arg(1024) ->Arg(1536) ->Arg(2048) ->Arg(3072) ->Arg(4096) ->Arg(5120) ->Arg(6144) ->Arg(7168)
#define ABSL_HARDENING_ASSERT(expr)
#define ABSL_NAMESPACE_BEGIN
constexpr absl::remove_reference_t< T > && move(T &&t) noexcept
static void callback(void *arg, int status, int timeouts, struct hostent *host)
Storage & operator=(Storage &&other)=delete
void * GetCallbackBuffer()
bool is_callback_engaged_
void InvokeCallback() ABSL_NO_THREAD_SAFETY_ANALYSIS
char callback_buffer_[sizeof(Callback)]
decltype(Invoker< F, Args... >::type::Invoke(std::declval< F >(), std::declval< Args >()...)) invoke_result_t
#define ABSL_NO_THREAD_SAFETY_ANALYSIS
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:54