diff --git a/BaseLib/CodingTools.h b/BaseLib/CodingTools.h new file mode 100644 index 0000000000000000000000000000000000000000..7e22f41757da9412ae5c46756c2817a6fcc81c59 --- /dev/null +++ b/BaseLib/CodingTools.h @@ -0,0 +1,20 @@ +/** + * Copyright (c) 2012, OpenGeoSys Community (http://www.opengeosys.org) + * Distributed under a Modified BSD License. + * See accompanying file LICENSE.txt or + * http://www.opengeosys.org/project/license + * + * + * \file CodingTools.h + * + * Created on 2012-02-17 by Norihiro Watanabe + */ + +#ifndef CODINGTOOLS_H +#define CODINGTOOLS_H + +#define DISALLOW_COPY_AND_ASSIGN(TypeName) \ + TypeName(const TypeName&); \ + TypeName &operator=(const TypeName&) + +#endif