chromium/base/test/copy_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_COPY_ONLY_INT_H_
#define BASE_TEST_COPY_ONLY_INT_H_

#include <utility>

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

namespace base {

// A copy-only (not moveable) class that holds an integer. This is designed for
// testing containers. See also MoveOnlyInt.
class CopyOnlyInt {};

}  // namespace base

#endif  // BASE_TEST_COPY_ONLY_INT_H_