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)
|
||||
{
|
||||
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
|
||||
{
|
||||
if(AL_Distance>=0)
|
||||
@ -982,6 +991,13 @@ namespace ZNsMain
|
||||
}/*
|
||||
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:
|
||||
};/*
|
||||
|
@ -256,7 +256,7 @@ namespace ZNsMain
|
||||
|
||||
MakeLinkCopy /*++++++++++++++++++++++++++++++++++++++++++++*/
|
||||
(
|
||||
AP_LinkOrgin->GetNextPtr() , AL_FarNum-ml_UseSize,
|
||||
AP_LinkOrgin->GetNextPtr(), AL_FarNum-ml_UseSize,
|
||||
RR(mp_NoUseTail->mp_NextLink), RR(APR_TailCopy)
|
||||
);
|
||||
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
|
||||
|
Reference in New Issue
Block a user