Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
gtsam
3rdparty
Eigen
failtest
swap_2.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
VectorXf
const
&ac(
a
);
9
#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
10
b.swap(ac);
11
#else
12
b.swap(ac.const_cast_derived());
13
#endif
14
}
main
int main()
Definition:
swap_2.cpp:5
b
Scalar * b
Definition:
benchVecAdd.cpp:17
Eigen
Namespace containing all symbols from the Eigen library.
Definition:
jet.h:637
a
Array33i a
Definition:
Cwise_product.cpp:1
gtsam
Author(s):
autogenerated on Sat May 8 2021 02:45:07