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
JPH_EXPORT
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_EXPORT
#define JPH_EXPORT
Definition
Core.h:271
JPH_NAMESPACE_END
#define JPH_NAMESPACE_END
Definition
Core.h:414
JPH_NAMESPACE_BEGIN
#define JPH_NAMESPACE_BEGIN
Definition
Core.h:408
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
Jolt
Core
NonCopyable.h
Generated by
1.9.8