Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
NonCopyable.h
Go to the documentation of this file.
1
// Jolt Physics Library (https://github.com/jrouwe/JoltPhysics)
2
// SPDX-FileCopyrightText: 2021 Jorrit Rouwe
3
// SPDX-License-Identifier: MIT
4
5
#pragma once
6
7
JPH_NAMESPACE_BEGIN
8
10
class
NonCopyable
11
{
12
public
:
13
NonCopyable
() =
default
;
14
NonCopyable
(
const
NonCopyable
&) =
delete
;
15
void
operator =
(
const
NonCopyable
&) =
delete
;
16
};
17
18
JPH_NAMESPACE_END
JPH_NAMESPACE_END
#define JPH_NAMESPACE_END
Definition
Core.h:240
JPH_NAMESPACE_BEGIN
#define JPH_NAMESPACE_BEGIN
Definition
Core.h:234
NonCopyable
Class that makes another class non-copyable. Usage: Inherit from NonCopyable.
Definition
NonCopyable.h:11
NonCopyable::NonCopyable
NonCopyable(const NonCopyable &)=delete
NonCopyable::NonCopyable
NonCopyable()=default
NonCopyable::operator=
void operator=(const NonCopyable &)=delete
Jolt
Core
NonCopyable.h
Generated by
1.10.0