Skip to content
Snippets Groups Projects
Commit df037802 authored by Martin Nolte's avatar Martin Nolte
Browse files

[bugfix] make AddRefTypeEvaluator work in tranformTuple

As documented, tranformTuple should support AddRefTypeEvaluator. As
std::make_tuple will remove references (using std::decay) from the
funtor's return type, the returned tuple would contain copies of the
values. This is not the intended behavior.

This patch adds AddRefTypeEvaluator to the utilitytest and fixes the
return type of transformTuple.
parent d7be1c5c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment