This commit is contained in:
ShazidMahsrafi 2024-04-23 23:32:46 +06:00
parent b0cd0084f2
commit 57e36ea841

View File

@ -80,7 +80,7 @@ namespace __DEBUG_UTIL__
cerr.write(names, i) << " = "; cerr.write(names, i) << " = ";
print(head); print(head);
if constexpr (sizeof...(tail)) if constexpr (sizeof...(tail))
cerr << " ||", printer(names + i + 1, tail...); cerr << " || ", printer(names + i + 1, tail...);
else else
cerr << "]\n"; cerr << "]\n";
} }
@ -97,7 +97,7 @@ namespace __DEBUG_UTIL__
cerr << (ind ? "," : ""), print(arr[ind]); cerr << (ind ? "," : ""), print(arr[ind]);
cerr << "}"; cerr << "}";
if constexpr (sizeof...(tail)) if constexpr (sizeof...(tail))
cerr << " ||", printerArr(names + i + 1, tail...); cerr << " || ", printerArr(names + i + 1, tail...);
else else
cerr << "]\n"; cerr << "]\n";
} }