Functions
bench_move_semantics.cpp File Reference
#include "BenchTimer.h"
#include "../test/MovableScalar.h"
#include <Eigen/Core>
#include <iostream>
#include <utility>
Include dependency graph for bench_move_semantics.cpp:

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)
 

Function Documentation

◆ bench()

template<typename Scalar >
void bench ( const std::string &  label)

Definition at line 33 of file bench_move_semantics.cpp.

◆ copy_matrix()

template<typename MatrixType >
void copy_matrix ( MatrixType m)

Definition at line 19 of file bench_move_semantics.cpp.

◆ main()

int main ( )

Definition at line 51 of file bench_move_semantics.cpp.

◆ move_matrix()

template<typename MatrixType >
void move_matrix ( MatrixType &&  m)

Definition at line 26 of file bench_move_semantics.cpp.



gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:43:14