NonCopyable.h 323 B

1234567891011
  1. // Copyright (c) .NET Foundation. All rights reserved.
  2. // Licensed under the MIT License. See License.txt in the project root for license information.
  3. #pragma once
  4. class NonCopyable {
  5. public:
  6. NonCopyable() = default;
  7. NonCopyable(const NonCopyable&) = delete;
  8. NonCopyable& operator=(const NonCopyable&) = delete;
  9. };