Namespaces | Macros | Enumerations | Functions
macros.h File Reference
#include <cassert>
#include <cstddef>
#include "absl/base/optimization.h"
#include "absl/base/port.h"
Include dependency graph for macros.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 absl
 
 absl::base_internal
 
 absl::macros_internal
 

Macros

#define ABSL_ARRAYSIZE(array)   (sizeof(::absl::macros_internal::ArraySizeHelper(array)))
 
#define ABSL_ASSERT(expr)
 
#define ABSL_DEPRECATED(message)
 
#define ABSL_FALLTHROUGH_INTENDED
 
#define ABSL_INTERNAL_CATCH_ANY   else if (false)
 
#define ABSL_INTERNAL_RETHROW   do {} while (false)
 
#define ABSL_INTERNAL_TRY   if (true)
 

Enumerations

enum  absl::base_internal::LinkerInitialized { absl::base_internal::kLinkerInitialized = 0 }
 

Functions

template<typename T , size_t N>
auto absl::macros_internal::ArraySizeHelper (const T(&array)[N]) -> char(&)[N]
 

Macro Definition Documentation

◆ ABSL_ARRAYSIZE

#define ABSL_ARRAYSIZE (   array)    (sizeof(::absl::macros_internal::ArraySizeHelper(array)))

Definition at line 42 of file macros.h.

◆ ABSL_ASSERT

#define ABSL_ASSERT (   expr)
Value:
(ABSL_PREDICT_TRUE((expr)) ? static_cast<void>(0) \
: [] { assert(false && #expr); }())
#define ABSL_PREDICT_TRUE(x)
Definition: optimization.h:178

Definition at line 198 of file macros.h.

◆ ABSL_DEPRECATED

#define ABSL_DEPRECATED (   message)

Definition at line 153 of file macros.h.

◆ ABSL_FALLTHROUGH_INTENDED

#define ABSL_FALLTHROUGH_INTENDED
Value:
do { \
} while (0)

Definition at line 129 of file macros.h.

◆ ABSL_INTERNAL_CATCH_ANY

#define ABSL_INTERNAL_CATCH_ANY   else if (false)

Definition at line 209 of file macros.h.

◆ ABSL_INTERNAL_RETHROW

#define ABSL_INTERNAL_RETHROW   do {} while (false)

Definition at line 210 of file macros.h.

◆ ABSL_INTERNAL_TRY

#define ABSL_INTERNAL_TRY   if (true)

Definition at line 208 of file macros.h.



abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:22