Macros
abseil-cpp/absl/base/internal/inline_variable.h File Reference
#include <type_traits>
#include "absl/base/internal/identity.h"
Include dependency graph for abseil-cpp/absl/base/internal/inline_variable.h:

Go to the source code of this file.

Macros

#define ABSL_INTERNAL_INLINE_CONSTEXPR(var_type, name, init)
 

Macro Definition Documentation

◆ ABSL_INTERNAL_INLINE_CONSTEXPR

#define ABSL_INTERNAL_INLINE_CONSTEXPR (   var_type,
  name,
  init 
)
Value:
template <class /*AbslInternalDummy*/ = void> \
struct AbslInternalInlineVariableHolder##name { \
static constexpr ::absl::internal::identity_t<var_type> kInstance = init; \
}; \
\
template <class AbslInternalDummy> \
constexpr ::absl::internal::identity_t<var_type> \
AbslInternalInlineVariableHolder##name<AbslInternalDummy>::kInstance; \
\
static constexpr const ::absl::internal::identity_t<var_type>& \
name = /* NOLINT */ \
AbslInternalInlineVariableHolder##name<>::kInstance; \
static_assert(sizeof(void (*)(decltype(name))) != 0, \
"Silence unused variable warnings.")

Definition at line 89 of file abseil-cpp/absl/base/internal/inline_variable.h.

init
const char * init
Definition: upb/upb/bindings/lua/main.c:49
setup.name
name
Definition: setup.py:542


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:20