MCPcopy Create free account
hub / github.com/PX4/eigen / swap_using_evaluator

Function swap_using_evaluator

test/evaluators.cpp:81–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79
80 template<typename DstXprType, typename SrcXprType>
81 void swap_using_evaluator(const DstXprType& dst, const SrcXprType& src)
82 {
83 typedef typename DstXprType::Scalar Scalar;
84 call_assignment(dst.const_cast_derived(), src.const_cast_derived(), internal::swap_assign_op<Scalar>());
85 }
86
87 namespace internal {
88 template<typename Dst, template <typename> class StorageBase, typename Src, typename Func>

Callers 1

test_evaluatorsFunction · 0.85

Calls 1

call_assignmentFunction · 0.70

Tested by 1

test_evaluatorsFunction · 0.68