gtsam
3rdparty
Eigen
failtest
swap_1.cpp
Go to the documentation of this file.
1
#include "../Eigen/Core"
2
3
using namespace
Eigen
;
4
5
int
main
()
6
{
7
VectorXf
a
(10),
b
(10);
8
#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
9
const
DenseBase<VectorXf>
&ac(
a
);
10
#else
11
DenseBase<VectorXf>
&ac(
a
);
12
#endif
13
b.swap(ac);
14
}
main
int main()
Definition:
swap_1.cpp:5
b
Scalar * b
Definition:
benchVecAdd.cpp:17
Eigen
Namespace containing all symbols from the Eigen library.
Definition:
jet.h:637
Eigen::DenseBase
Base class for all dense matrices, vectors, and arrays.
Definition:
DenseBase.h:41
a
ArrayXXi a
Definition:
Array_initializer_list_23_cxx11.cpp:1
gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:36:34