Add Nonmoveable

This commit is contained in:
Kirigaya Kazuto 2017-07-01 14:48:58 +08:00
parent 2d0b1b77a8
commit 17f12ecc2f

View File

@ -0,0 +1,9 @@
#pragma once
#include "begin_code.h"
class NonMoveable
{
public:
NonMoveable(NonMoveable&&) =delete;
NonMoveable& operator = (NonMoveable&&)=delete;
};
#include "end_code.h"