commit 2025-10-07 23:32 add 'const' after SendFreeOut() ZCppMain/ZtCLinkList.H
This commit is contained in:
@ -5455,24 +5455,24 @@ namespace ZNsMain
|
||||
|
||||
protected:
|
||||
|
||||
ZCLink* NewLink()
|
||||
ZCLink* NewLink() const
|
||||
{
|
||||
return new ZCLink;
|
||||
}/*
|
||||
ZCLink* NewLink()*/
|
||||
ZCLink* NewLink() const*/
|
||||
|
||||
ZCLink* NewLink(TypeArg AO_ArgData)
|
||||
ZCLink* NewLink(TypeArg AO_ArgData) const
|
||||
{
|
||||
return new ZCLink(AO_ArgData);
|
||||
}/*
|
||||
ZCLink* NewLink(TypeArg AO_ArgData)*/
|
||||
ZCLink* NewLink(TypeArg AO_ArgData) const*/
|
||||
|
||||
void NewLink ////////////////////////////////////////
|
||||
(
|
||||
TypeSize AL_NeedCnt ,
|
||||
ZCLink*& APR_HeadLink ,
|
||||
ZCLink*& APR_TailLink
|
||||
)
|
||||
) const
|
||||
/////////////////////////////////////////////////////
|
||||
{
|
||||
APR_HeadLink = new ZCLink;
|
||||
@ -5499,7 +5499,7 @@ namespace ZNsMain
|
||||
TypeSize AL_NeedCnt ,
|
||||
ZCLink*& APR_HeadLink ,
|
||||
ZCLink*& APR_TailLink
|
||||
)
|
||||
) const
|
||||
///////////////////////////////////////////////////*/
|
||||
|
||||
|
||||
@ -5571,25 +5571,25 @@ namespace ZNsMain
|
||||
/*protected:*/
|
||||
private :
|
||||
|
||||
_VT_ ZCLink* SendFreeOut()
|
||||
_VT_ ZCLink* SendFreeOut() const
|
||||
{
|
||||
if(TTypeCRTP::ZEUseCRTP<1) return NewLink();
|
||||
|
||||
return GetChildObj().SendFreeOut();
|
||||
}/*
|
||||
_VT_ ZCLink* SendFreeOut()*/
|
||||
_VT_ ZCLink* SendFreeOut() const*/
|
||||
|
||||
_VT_ ZCLink* SendFreeOut(TypeArg AO_ArgData)
|
||||
_VT_ ZCLink* SendFreeOut(TypeArg AO_ArgData) const
|
||||
{
|
||||
if(TTypeCRTP::ZEUseCRTP<1)
|
||||
{ return NewLink(AO_ArgData); }
|
||||
|
||||
return GetChildObj().SendFreeOut(AO_ArgData);
|
||||
}/*
|
||||
_VT_ ZCLink* SendFreeOut(TypeArg AO_ArgData)*/
|
||||
_VT_ ZCLink* SendFreeOut(TypeArg AO_ArgData) const*/
|
||||
|
||||
_VT_ void SendFreeOut
|
||||
(TypeSize AL_NeedCnt, ZCLink*& APR_HeadLink, ZCLink*& APR_TailLink)
|
||||
(TypeSize AL_NeedCnt, ZCLink*& APR_HeadLink, ZCLink*& APR_TailLink) const
|
||||
{
|
||||
if(TTypeCRTP::ZEUseCRTP<1)
|
||||
{
|
||||
@ -5601,7 +5601,7 @@ namespace ZNsMain
|
||||
(AL_NeedCnt, RR(APR_HeadLink), RR(APR_TailLink));
|
||||
}/*
|
||||
_VT_ void SendFreeOut
|
||||
(TypeSize AL_NeedCnt, ZCLink*& APR_HeadLink, ZCLink*& APR_TailLink)
|
||||
(TypeSize AL_NeedCnt, ZCLink*& APR_HeadLink, ZCLink*& APR_TailLink) const
|
||||
*/
|
||||
|
||||
_VT_ void SendFreeOutCopy /*///////////////////////*/
|
||||
|
Reference in New Issue
Block a user