gtsam
3rdparty
Eigen
failtest
map_on_const_type_actually_const_1.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
(
float
*ptr){
12
Map<CV_QUALIFIER Vector3f>
(ptr).coeffRef(0) = 1.0f;
13
}
14
15
int
main
() {}
Eigen
Namespace containing all symbols from the Eigen library.
Definition:
jet.h:637
foo
void foo(float *ptr)
Definition:
map_on_const_type_actually_const_1.cpp:11
Eigen::Map
A matrix or vector expression mapping an existing array of data.
Definition:
Map.h:94
main
int main()
Definition:
map_on_const_type_actually_const_1.cpp:15
gtsam
Author(s):
autogenerated on Tue Jun 25 2024 03:01:19