#include "BenchTimer.h"#include "../test/MovableScalar.h"#include <Eigen/Core>#include <iostream>#include <utility>
Go to the source code of this file.
Functions | |
| template<typename Scalar > | |
| void | bench (const std::string &label) |
| template<typename MatrixType > | |
| void | copy_matrix (MatrixType &m) |
| int | main () |
| template<typename MatrixType > | |
| void | move_matrix (MatrixType &&m) |
| void bench | ( | const std::string & | label | ) |
Definition at line 33 of file bench_move_semantics.cpp.
| void copy_matrix | ( | MatrixType & | m | ) |
Definition at line 19 of file bench_move_semantics.cpp.
| int main | ( | void | ) |
Definition at line 51 of file bench_move_semantics.cpp.
| void move_matrix | ( | MatrixType && | m | ) |
Definition at line 26 of file bench_move_semantics.cpp.