initial commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
// Copyright (c) 2017, Tencent Inc.
|
||||
// All rights reserved.
|
||||
//
|
||||
// Author: sevenyou <sevenyou@tencent.com>
|
||||
// Created: 08/03/17
|
||||
// Description:
|
||||
|
||||
#ifndef NONCOPYABLE_H
|
||||
#define NONCOPYABLE_H
|
||||
#pragma once
|
||||
|
||||
namespace qcloud_cos {
|
||||
|
||||
class NonCopyable {
|
||||
protected:
|
||||
NonCopyable() {}
|
||||
~NonCopyable() {}
|
||||
private: // emphasize the following members are private
|
||||
NonCopyable(const NonCopyable&);
|
||||
const NonCopyable& operator=(const NonCopyable&);
|
||||
};
|
||||
}
|
||||
|
||||
#endif // NONCOPYABLE_H
|
||||
Reference in New Issue
Block a user