Macros | Functions
ceres/macros.h File Reference
#include <cstddef>
Include dependency graph for ceres/macros.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define arraysize(array)   (sizeof(ArraySizeHelper(array)))
 
#define CERES_ARRAYSIZE(a)
 
#define CERES_DISALLOW_COPY_AND_ASSIGN(TypeName)
 
#define CERES_DISALLOW_IMPLICIT_CONSTRUCTORS(TypeName)
 
#define CERES_MUST_USE_RESULT
 

Functions

template<typename T , size_t N>
char(& ArraySizeHelper (T(&array)[N]))[N]
 
template<typename T , size_t N>
char(& ArraySizeHelper (const T(&array)[N]))[N]
 

Macro Definition Documentation

#define arraysize (   array)    (sizeof(ArraySizeHelper(array)))

Definition at line 91 of file ceres/macros.h.

#define CERES_ARRAYSIZE (   a)
Value:
((sizeof(a) / sizeof(*(a))) / \
static_cast<size_t>(!(sizeof(a) % sizeof(*(a)))))
Array33i a

Definition at line 138 of file ceres/macros.h.

#define CERES_DISALLOW_COPY_AND_ASSIGN (   TypeName)
Value:
TypeName(const TypeName&); \
void operator=(const TypeName&)

Definition at line 52 of file ceres/macros.h.

#define CERES_DISALLOW_IMPLICIT_CONSTRUCTORS (   TypeName)
Value:
TypeName(); \
#define CERES_DISALLOW_COPY_AND_ASSIGN(TypeName)
Definition: ceres/macros.h:52

Definition at line 62 of file ceres/macros.h.

#define CERES_MUST_USE_RESULT

Definition at line 152 of file ceres/macros.h.

Function Documentation

template<typename T , size_t N>
char(& ArraySizeHelper ( T(&)  array[N]) )[N]
template<typename T , size_t N>
char(& ArraySizeHelper ( const T(&)  array[N]) )[N]


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:31