You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static_assert(std::is_lvalue_reference<T>::value, "ReturnRefCapt() cannot take an rvalue references because it would make it dangling, use ReturnValCapt() instead.");
168
+
returnDo([&r](consttypename fakeit::test_arg<arglist>::type...) -> R { return r; });
static_assert(std::is_lvalue_reference<T>::value, "AlwaysReturnRefCapt() cannot take an rvalue references because it would make it dangling, use AlwaysReturnValCapt() instead.");
174
+
returnAlwaysDo([&r](consttypename fakeit::test_arg<arglist>::type...) -> R { return r; });
0 commit comments