chromium/base/test/move_only_int.h

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef BASE_TEST_MOVE_ONLY_INT_H_
#define BASE_TEST_MOVE_ONLY_INT_H_

#include <utility>

#include "base/functional/callback.h"
#include "third_party/abseil-cpp/absl/cleanup/cleanup.h"

namespace base {

// A move-only class that holds an integer. This is designed for testing
// containers. See also CopyOnlyInt.
class MoveOnlyInt {};

}  // namespace base

#endif  // BASE_TEST_MOVE_ONLY_INT_H_