#include <cstddef>
Go to the source code of this file.
◆ arraysize
◆ CERES_ARRAYSIZE
#define CERES_ARRAYSIZE |
( |
|
a | ) |
|
Value:((
sizeof(
a) /
sizeof(*(
a))) / \
static_cast<
size_t>(!(
sizeof(
a) %
sizeof(*(
a)))))
Definition at line 138 of file ceres/macros.h.
◆ CERES_DISALLOW_COPY_AND_ASSIGN
#define CERES_DISALLOW_COPY_AND_ASSIGN |
( |
|
TypeName | ) |
|
Value:TypeName(const TypeName&); \
void operator=(const TypeName&)
Definition at line 52 of file ceres/macros.h.
◆ CERES_DISALLOW_IMPLICIT_CONSTRUCTORS
#define CERES_DISALLOW_IMPLICIT_CONSTRUCTORS |
( |
|
TypeName | ) |
|
Value:TypeName(); \
CERES_DISALLOW_COPY_AND_ASSIGN(TypeName)
Definition at line 62 of file ceres/macros.h.
◆ CERES_MUST_USE_RESULT
#define CERES_MUST_USE_RESULT |
◆ ArraySizeHelper() [1/2]
template<typename T , size_t N>
char(& ArraySizeHelper |
( |
T(&) |
array[N] | ) |
)[N] |
◆ ArraySizeHelper() [2/2]
template<typename T , size_t N>
char(& ArraySizeHelper |
( |
const T(&) |
array[N] | ) |
)[N] |