Add classhelper macro to forbid copy, move and any assigment
authorChristian Blau <cblau@gwdg.de>
Wed, 4 Mar 2020 08:04:29 +0000 (09:04 +0100)
committerPaul Bauer <paul.bauer.q@gmail.com>
Wed, 4 Mar 2020 09:37:21 +0000 (10:37 +0100)
commit4c4360a8c592baaa28d0b80c0d096f3c7079994c
tree8e1ff832ce0a7a62d4d2072b1838923d86d87870
parent714e54ca91a147324a6344cbceb95dfc62067185
Add classhelper macro to forbid copy, move and any assigment

The current macro only deletes the copying and copy-assignemnt, but for
most cases also the move equivalent of these operations should be
deleted. This patch introduces a new macro to forbid copying and moving.

Change-Id: I6f2f8591b289322cf7e79003a50507cdc9d6b5b9
src/gromacs/utility/classhelpers.h