39#ifndef GTSAM_ENABLE_DEBUG
40#define GTSAM_ENABLE_DEBUG
48 bool GTSAM_EXPORT guardedIsDebug(
const std::string& s);
49 void GTSAM_EXPORT guardedSetDebug(
const std::string& s,
const bool v);
52 bool GTSAM_EXPORT isDebugVersion();
58#ifdef GTSAM_ENABLE_DEBUG
60#define ISDEBUG(S) (gtsam::guardedIsDebug(S))
61#define SETDEBUG(S,V) ((void)(gtsam::guardedSetDebug(S,V)))
65#define ISDEBUG(S) (false)
66#define SETDEBUG(S,V) ((void)false)
A thin wrapper around std::map that uses boost's fast_pool_allocator.
Included from all GTSAM files.
Global functions in a separate testing namespace.
Definition chartTesting.h:28
FastMap is a thin wrapper around std::map that uses the boost fast_pool_allocator instead of the defa...
Definition FastMap.h:38