
#include "realm/util/functional.hpp"

#include "test.hpp"

namespace realm::util {
namespace {

struct MoveOnlyType {
    MoveOnlyType() noexcept = default;
    MoveOnlyType(MoveOnlyType&& other)
        : moved_from(false)
        , moved_to(true)
    {