#include <stddef.h>
#include <unistd.h>
#include <utility>
Go to the source code of this file.
|
template<typename T , size_t N> |
char(& | ArraySizeHelper (T(&array)[N]))[N] |
|
template<typename... T> |
void | UNUSED (const T &...) |
|
◆ arraysize
◆ ATTRIBUTE_UNUSED
◆ DISALLOW_COPY_AND_ASSIGN
#define DISALLOW_COPY_AND_ASSIGN |
( |
|
TypeName | ) |
|
Value:
void operator=(
const TypeName&) =
delete
constexpr std::string_view TypeName()
Definition: type_name.h:61
◆ DISALLOW_IMPLICIT_CONSTRUCTORS
#define DISALLOW_IMPLICIT_CONSTRUCTORS |
( |
|
TypeName | ) |
|
◆ FALLTHROUGH_INTENDED
#define FALLTHROUGH_INTENDED [[clang::fallthrough]] |
◆ LIKELY
#define LIKELY |
( |
|
exp | ) |
(__builtin_expect( (exp) != 0, true )) |
◆ SIZEOF_MEMBER
#define SIZEOF_MEMBER |
( |
|
t, |
|
|
|
f |
|
) |
| sizeof(std::declval<t>().f) |
◆ TEMP_FAILURE_RETRY
#define TEMP_FAILURE_RETRY |
( |
|
exp | ) |
|
Value: ({ \
decltype(exp) _rc; \
do { \
_rc = (exp); \
} while (_rc == -1 && errno == EINTR); \
_rc; \
})
◆ UNLIKELY
#define UNLIKELY |
( |
|
exp | ) |
(__builtin_expect( (exp) != 0, false )) |
◆ WARN_UNUSED
◆ ArraySizeHelper()
template<typename T , size_t N>
char(& ArraySizeHelper |
( |
T(&) |
array[N] | ) |
)[N] |
◆ UNUSED()
template<typename... T>
void UNUSED |
( |
const T & |
... | ) |
|