mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +08:00
Inheriting from NonCopyableOrMovableClass or NonCopyableClass does not prevent derived classes from accidentally defining their own copy or move constructors, violating the intended design. This commit introduces two concepts: - NonCopyableOrMovable - NonCopyable Using static asserts with these concepts will guarantee the intended copy and move limitations. Related-To: NEO-14068 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>