Go to the source code of this file.
Defines | |
#define | ABSL_INTERNAL_INLINE_CONSTEXPR(var_type, name, init) |
#define ABSL_INTERNAL_INLINE_CONSTEXPR | ( | var_type, | |
name, | |||
init | |||
) |
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 inline_variable.h.