Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
IUninstantiable.h
Go to the documentation of this file.
1#pragma once
2
3namespace ph
4{
5
13{
14protected:
15 IUninstantiable() = delete;
16 IUninstantiable(const IUninstantiable& other) = delete;
20
21 // Not deleting dtor--deleting dtor will not prevent instantiation via `new`,
22 // defined as default just in case some corner cases may need it to cleanup.
23 inline ~IUninstantiable() = default;
24};
25
26}// end namespace ph
Marks the derived class as uninstantiable.
Definition IUninstantiable.h:13
IUninstantiable & operator=(const IUninstantiable &rhs)=delete
IUninstantiable()=delete
~IUninstantiable()=default
IUninstantiable(const IUninstantiable &other)=delete
IUninstantiable(IUninstantiable &&other)=delete
The root for all renderer implementations.
Definition EEngineProject.h:6