51 lines
688 B
C++
51 lines
688 B
C++
#pragma once
|
|
|
|
#include "SPV.h"
|
|
|
|
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
|
|
{
|
|
return *this;
|
|
}
|
|
|
|
SPVE &operator=(const SPVE &spve)
|
|
{
|
|
return *this;
|
|
}
|
|
|
|
SPV *GetOwner() const
|
|
{
|
|
return owner;
|
|
}
|
|
|
|
T *GetValue() const
|
|
{
|
|
return value;
|
|
}
|
|
};
|
|
} |