Skip to content
Snippets Groups Projects
Forked from ogs / ogs
25827 commits behind the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
CodingTools.h 527 B
/**
 * \file
 * \author Norihiro Watanabe
 * \date   2012-02-17
 * \brief Helper macros.
 *
 * \copyright
 * Copyright (c) 2013, OpenGeoSys Community (http://www.opengeosys.org)
 *            Distributed under a Modified BSD License.
 *              See accompanying file LICENSE.txt or
 *              http://www.opengeosys.org/project/license
 *
 */

#ifndef CODINGTOOLS_H
#define CODINGTOOLS_H

#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
    TypeName(const TypeName&);   \
    TypeName &operator=(const TypeName&)

#endif