commit 2025-10-04 09:13 ZCLink& operator+, - : ZCppMain/ZtCObjList.H
This commit is contained in:
@ -974,6 +974,15 @@ namespace ZNsMain
|
|||||||
}/*
|
}/*
|
||||||
ZCLink& operator+(TypeSize AL_Distance)*/
|
ZCLink& operator+(TypeSize AL_Distance)*/
|
||||||
|
|
||||||
|
ZCLink& operator-(TypeSize AL_Distance)
|
||||||
|
{
|
||||||
|
if(AL_Distance>=0)
|
||||||
|
return *GetPrevPtr(AL_Distance);
|
||||||
|
else return *GetNextPtr(AL_Distance);
|
||||||
|
}/*
|
||||||
|
ZCLink& operator-(TypeSize AL_Distance)*/
|
||||||
|
|
||||||
|
|
||||||
const ZCLink& operator+(TypeSize AL_Distance) const
|
const ZCLink& operator+(TypeSize AL_Distance) const
|
||||||
{
|
{
|
||||||
if(AL_Distance>=0)
|
if(AL_Distance>=0)
|
||||||
@ -982,6 +991,13 @@ namespace ZNsMain
|
|||||||
}/*
|
}/*
|
||||||
const ZCLink& operator+(TypeSize AL_Distance) const*/
|
const ZCLink& operator+(TypeSize AL_Distance) const*/
|
||||||
|
|
||||||
|
const ZCLink& operator-(TypeSize AL_Distance) const
|
||||||
|
{
|
||||||
|
if(AL_Distance>=0)
|
||||||
|
return *GetPrevPtr(AL_Distance);
|
||||||
|
else return *GetNextPtr(AL_Distance);
|
||||||
|
}/*
|
||||||
|
const ZCLink& operator-(TypeSize AL_Distance) const*/
|
||||||
|
|
||||||
public:
|
public:
|
||||||
};/*
|
};/*
|
||||||
|
Reference in New Issue
Block a user