Anonymous
public text v1 · immutableclass nint
{
protected:
int value;
public:
nint()
{
//default value 0
value = 0;
}
template<class T> nint(T v)
{
value = v;
}
template<class T> T operator= (T v)
{
value = v;
return v;
}
int toInt()
{
return value;
}
};
Thank you for your time,
Arrummzen