You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
328 B
19 lines
328 B
#pragma once
|
|
#include <utilities-def.h>
|
|
namespace SOUI
|
|
{
|
|
/**
|
|
* Inheriate this class to make your class cannot be copy and assign.
|
|
*
|
|
*/
|
|
class UTILITIES_API SNoCopyable
|
|
{
|
|
public:
|
|
SNoCopyable() {}
|
|
~SNoCopyable() {}
|
|
private:
|
|
SNoCopyable(const SNoCopyable &);
|
|
const SNoCopyable &operator=(const SNoCopyable &);
|
|
};
|
|
|
|
} |