gtsam  4.1.0
gtsam
concepts.h
1 /*
2  * concepts.h
3  *
4  * @date Dec 4, 2014
5  * @author Mike Bosse
6  * @author Frank Dellaert
7  */
8 
9 #pragma once
10 
11 // This is a helper to ease the transition to the new traits defined in this file.
12 // Uncomment this if you want all methods that are tagged as not implemented
13 // to cause compilation errors.
14 #ifdef COMPILE_ERROR_NOT_IMPLEMENTED
15 
16 #include <boost/static_assert.hpp>
17 #define CONCEPT_NOT_IMPLEMENTED BOOST_STATIC_ASSERT_MSG(boost::false_type, \
18 "This method is required by the new concepts framework but has not been implemented yet.");
19 
20 #else
21 
22 #include <exception>
23 #define CONCEPT_NOT_IMPLEMENTED \
24  throw std::runtime_error("This method is required by the new concepts framework but has not been implemented yet.");
25 
26 #endif
27 
28 namespace gtsam {
29 
30 template <typename T> struct traits;
31 
32 }
gtsam::traits
A manifold defines a space in which there is a notion of a linear tangent space that can be centered ...
Definition: concepts.h:30
gtsam
Global functions in a separate testing namespace.
Definition: chartTesting.h:28