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
}
Eigen
Namespace containing all symbols from the Eigen library.
Definition:
jet.h:637
b
Scalar * b
Definition:
benchVecAdd.cpp:17
a
ArrayXXi a
Definition:
Array_initializer_list_23_cxx11.cpp:1
Eigen::DenseBase
Base class for all dense matrices, vectors, and arrays.
Definition:
DenseBase.h:41
main
int main()
Definition:
swap_1.cpp:5
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:05:21