Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
IMoveOnly.h
Go to the documentation of this file.
1#pragma once
2
3namespace ph
4{
5
23{
24protected:
25 inline IMoveOnly() = default;
26 inline ~IMoveOnly() = default;
27
28 inline IMoveOnly(IMoveOnly&& other) = default;
29 inline IMoveOnly& operator = (IMoveOnly&& rhs) = default;
30
31 IMoveOnly(const IMoveOnly& other) = delete;
32 IMoveOnly& operator = (const IMoveOnly& rhs) = delete;
33};
34
35}// end namespace ph
Marks the derived class as move only.
Definition IMoveOnly.h:23
IMoveOnly(const IMoveOnly &other)=delete
~IMoveOnly()=default
IMoveOnly()=default
IMoveOnly(IMoveOnly &&other)=default
IMoveOnly & operator=(IMoveOnly &&rhs)=default
The root for all renderer implementations.
Definition EEngineProject.h:6