base/concepts.h
Go to the documentation of this file.
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 }
traits
Definition: chartTesting.h:28


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:41:49