Go to the documentation of this file.
15 #ifndef ABSL_CLEANUP_INTERNAL_CLEANUP_H_
16 #define ABSL_CLEANUP_INTERNAL_CLEANUP_H_
18 #include <type_traits>
21 #include "absl/base/internal/invoke.h"
22 #include "absl/base/thread_annotations.h"
23 #include "absl/utility/utility.h"
28 namespace cleanup_internal {
32 template <
typename Arg,
typename...
Args>
35 (
sizeof...(Args) == 0);
38 template <
typename Callback>
40 return (std::is_same<base_internal::invoke_result_t<Callback>,
void>::
value);
43 template <
typename Callback>
81 #endif // ABSL_CLEANUP_INTERNAL_CLEANUP_H_
bool IsCallbackEngaged() const
constexpr bool ReturnsVoid()
constexpr bool WasDeduced()
#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_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
bool is_callback_engaged_
Storage(Callback callback, bool is_callback_engaged)
void InvokeCallback() ABSL_NO_THREAD_SAFETY_ANALYSIS
T exchange(T &obj, U &&new_value)
#define ABSL_NO_THREAD_SAFETY_ANALYSIS
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:54