gtsam
3rdparty
Eigen
failtest
map_nonconst_ctor_on_const_ptr_0.cpp
Go to the documentation of this file.
1
#include "../Eigen/Core"
2
3
#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
4
#define CV_QUALIFIER const
5
#else
6
#define CV_QUALIFIER
7
#endif
8
9
using namespace
Eigen
;
10
11
void
foo
(
CV_QUALIFIER
float
*ptr){
12
Map<Matrix3f>
m
(ptr);
13
}
14
15
int
main
() {}
foo
void foo(CV_QUALIFIER float *ptr)
Definition:
map_nonconst_ctor_on_const_ptr_0.cpp:11
Eigen
Namespace containing all symbols from the Eigen library.
Definition:
jet.h:637
m
Matrix3f m
Definition:
AngleAxis_mimic_euler.cpp:1
Eigen::Map
A matrix or vector expression mapping an existing array of data.
Definition:
Map.h:94
main
int main()
Definition:
map_nonconst_ctor_on_const_ptr_0.cpp:15
CV_QUALIFIER
#define CV_QUALIFIER
Definition:
map_nonconst_ctor_on_const_ptr_0.cpp:6
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:45