commit 2025-09-07 22:54 add ZtStTuple<> ZftMakeTuple() : ZCppMain/ZMainHeadEx.H

This commit is contained in:
2025-09-07 22:54:24 +09:00
parent b7ebc664cc
commit 39996ce5fa
2 changed files with 19 additions and 7 deletions

View File

@ -29,6 +29,8 @@ namespace ZNsMain
cout<<"# Use C++ 98 Spec"<<endl;
ZtStTuple<>
myt0 = ZftMakeTuple();
ZtStTuple<int>
myt1 = ZftMakeTuple(1);
ZtStTuple<int, int>
@ -56,6 +58,7 @@ namespace ZNsMain
#else
cout<<"# Use auto keyword for ZtStTuple<> variable"<<endl;
auto myt0 = ZftMakeTuple();
auto myt1 = ZftMakeTuple(1);
auto myt2 = ZftMakeTuple(1, 34);
auto myt3 = ZftMakeTuple(1, 34, 'C');