pmt: improve PureTuple class.

This commit is contained in:
2025-09-22 20:16:18 +03:00
parent 17f2fb5660
commit b60c5c023f
2 changed files with 49 additions and 61 deletions

View File

@@ -130,7 +130,10 @@ int main(int argc, char **argv) {
std::cout << "pure tuple test: " << std::boolalpha
<< static_cast<bool>(values.at(0)) << std::endl;
std::cout << std::boolalpha << values << std::endl;
for (const auto &[x, y, z] : values) {
std::cout << std::boolalpha << "(" << x << ", " << y << ", " << z << ")"
<< std::endl;
}
std::cout << Helper::getLibVersion() << std::endl;