Searched refs:NoMoveCopy (Results 1 – 1 of 1) sorted by relevance
304 struct NoMoveCopy { struct305 NoMoveCopy() = default;306 NoMoveCopy(const NoMoveCopy&) = delete;307 NoMoveCopy(NoMoveCopy&&) = delete;310 NoMoveCopy& operator()(NoMoveCopy& x) { return x; } in operator ()()314 const auto lambd = [](NoMoveCopy& x) -> NoMoveCopy& { return x; }; in TEST()315 InPlaceFunction<NoMoveCopy&(NoMoveCopy&)> func = lambd; in TEST()316 const auto lambd2 = [](NoMoveCopy&& x) -> NoMoveCopy&& { return std::move(x); }; in TEST()317 InPlaceFunction<NoMoveCopy && (NoMoveCopy &&)> func2 = lambd2; in TEST()318 auto lvalue = NoMoveCopy{}; in TEST()[all …]