commit 2025-09-07 12:20 edit a bit ZCppMain/ZMainHead.H
This commit is contained in:
@ -1217,8 +1217,7 @@ namespace ZNsMain
|
||||
static ZfpNone GOR (void* AP_Void){return ZfNone ;}};
|
||||
|
||||
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////////////////////////////
|
||||
/*/////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
■ template 인수가 Type11 까지 있음에 주의한다. 그러면 Type10 까지 전문화할 수 있는 것이다.
|
||||
|
||||
@ -1231,6 +1230,8 @@ namespace ZNsMain
|
||||
|
||||
상식적으로도 ZtStTuple<int> 으로 쓸 일은 없다. -- 2021-03-04 16:27
|
||||
|
||||
지금은 template 인수가 Type13 까지 있다. 그러면 Type12 까지 전문화할 수 있는 것이다. -- 2025-09-07 12:55
|
||||
|
||||
■ 이젠 ZtStTuple<int> 형태도 가능하다. ZftMakeTuple() 도 추가. - -2025-09-05 21:01
|
||||
|
||||
■ RVO(Return Value Optimization) 로 인해 아래가 가능하다. -- 2025-09-06 21:23
|
||||
@ -1301,7 +1302,7 @@ namespace ZNsMain
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////*/
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////*/
|
||||
|
||||
template< typename Type1 =void, typename Type2 =void,
|
||||
typename Type3 =void, typename Type4 =void,
|
||||
@ -1311,7 +1312,7 @@ namespace ZNsMain
|
||||
typename Type11=void, typename Type12=void,
|
||||
typename Type13=void
|
||||
>
|
||||
struct ZtStTuple //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
struct ZtStTuple //////////////////////////////////////////////////////////////////////////////
|
||||
{
|
||||
ZtStTuple(){}
|
||||
};
|
||||
@ -1388,7 +1389,7 @@ namespace ZNsMain
|
||||
typedef typename CCheckRef4::TypeData TypeData4 ;
|
||||
|
||||
TypeData1 _1; TypeData2 _2; TypeData3 _3; TypeData4 _4;
|
||||
|
||||
|
||||
ZtStTuple<Type1, Type2, Type3, Type4>(){}
|
||||
ZtStTuple<Type1, Type2, Type3, Type4>
|
||||
(Type1 _T1, Type2 _T2, Type3 _T3, Type4 _T4) :
|
||||
|
Reference in New Issue
Block a user