mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Remove unused file
llvm-svn: 8021
This commit is contained in:
parent
de5780a502
commit
e28c0bf667
@ -1,26 +0,0 @@
|
||||
//===-- NonCopyable.h - Disable copy ctor and op= in subclasses --*- C++ -*--=//
|
||||
//
|
||||
// This file defines the NonCopyable and NonCopyableV classes. These mixin
|
||||
// classes may be used to mark a class not being copyable. You should derive
|
||||
// from NonCopyable if you don't want to have a virtual dtor, or NonCopyableV
|
||||
// if you do want polymorphic behavior in your class.
|
||||
//
|
||||
// No library is required when using these functinons.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef SUPPORT_NONCOPYABLE_H
|
||||
#define SUPPORT_NONCOPYABLE_H
|
||||
|
||||
class NonCopyable {
|
||||
// Disable the copy constructor and the assignment operator
|
||||
// by making them both private:
|
||||
//
|
||||
NonCopyable(const NonCopyable &); // DO NOT IMPLEMENT
|
||||
NonCopyable &operator=(const NonCopyable &); // DO NOT IMPLEMENT
|
||||
protected:
|
||||
inline NonCopyable() {}
|
||||
inline ~NonCopyable() {}
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user