gtsam
3rdparty
Eigen
failtest
cwiseunaryview_nonconst_ctor_on_const_xpr.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
Matrix3d &
m
){
12
CwiseUnaryView<internal::scalar_real_ref_op<double>
,Matrix3d>
t
(
m
);
13
}
14
15
int
main
() {}
main
int main()
Definition:
cwiseunaryview_nonconst_ctor_on_const_xpr.cpp:15
Eigen
Namespace containing all symbols from the Eigen library.
Definition:
jet.h:637
Eigen::CwiseUnaryView
Generic lvalue expression of a coefficient-wise unary operator of a matrix or a vector.
Definition:
CwiseUnaryView.h:58
foo
void foo(CV_QUALIFIER Matrix3d &m)
Definition:
cwiseunaryview_nonconst_ctor_on_const_xpr.cpp:11
m
Matrix3f m
Definition:
AngleAxis_mimic_euler.cpp:1
align_3::t
Point2 t(10, 10)
CV_QUALIFIER
#define CV_QUALIFIER
Definition:
cwiseunaryview_nonconst_ctor_on_const_xpr.cpp:6
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:23