| 13 | typedef MoveOnlyFunction<void(::std::string)> MOF; |
| 14 | { |
| 15 | struct S { |
| 16 | S() = default; |
| 17 | S(S&&) = default; |
| 18 | S(const S&) = default; |
| 19 | void operator()(::std::string) const {} |
| 20 | } s; |
| 21 | auto value = ::std::is_constructible<MOF, S>::value; |
| 22 | ASSERT_TRUE(value); |
| 23 | MOF(::std::move(s))("10086"); |