| 5 | using ::babylon::MoveOnlyFunction; |
| 6 | |
| 7 | TEST(move_only_function, default_construct_empty_function) { |
| 8 | MoveOnlyFunction<void(::std::string)> function; |
| 9 | ASSERT_FALSE(function); |
| 10 | } |
| 11 | |
| 12 | TEST(move_only_function, construct_from_moveable_callable_only) { |
| 13 | typedef MoveOnlyFunction<void(::std::string)> MOF; |