25 lines
352 B
C
25 lines
352 B
C
|
#pragma once
|
||
|
|
||
|
namespace ehs
|
||
|
{
|
||
|
template <typename T>
|
||
|
class SPVE
|
||
|
{
|
||
|
private:
|
||
|
SPV *owner;
|
||
|
T *value;
|
||
|
|
||
|
public:
|
||
|
SPVE();
|
||
|
|
||
|
SPVE(T *value);
|
||
|
|
||
|
SPVE(SPVE &&spve) noexcept;
|
||
|
|
||
|
SPVE(const SPVE &spve);
|
||
|
|
||
|
SPVE &operator=(SPVE &&spve) noexcept;
|
||
|
|
||
|
SPVE &operator=(const SPVE &spve);
|
||
|
};
|
||
|
}
|