gtsam
3rdparty
Eigen
failtest
ref_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
call_ref
(
Ref<VectorXf>
a
) { }
12
13
int
main
()
14
{
15
VectorXf
a
(10);
16
CV_QUALIFIER
VectorXf& ac(a);
17
call_ref
(ac);
18
}
Eigen
Namespace containing all symbols from the Eigen library.
Definition:
jet.h:637
main
int main()
Definition:
ref_1.cpp:13
Eigen::Ref
A matrix or vector expression mapping an existing expression.
Definition:
Ref.h:281
call_ref
void call_ref(Ref< VectorXf > a)
Definition:
ref_1.cpp:11
a
ArrayXXi a
Definition:
Array_initializer_list_23_cxx11.cpp:1
CV_QUALIFIER
#define CV_QUALIFIER
Definition:
ref_1.cpp:6
gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:35:32