{"id":28096239,"url":"https://github.com/taocpp/tuple","last_synced_at":"2026-03-05T18:04:17.783Z","repository":{"id":47677531,"uuid":"44556744","full_name":"taocpp/tuple","owner":"taocpp","description":"Compile-time-efficient proof-of-concept implementation for std::tuple","archived":false,"fork":false,"pushed_at":"2025-12-21T16:12:33.000Z","size":861,"stargazers_count":94,"open_issues_count":2,"forks_count":15,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-12-23T05:59:17.401Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/taocpp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-19T18:58:17.000Z","updated_at":"2025-12-21T16:12:36.000Z","dependencies_parsed_at":"2022-08-30T07:41:39.748Z","dependency_job_id":null,"html_url":"https://github.com/taocpp/tuple","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/taocpp/tuple","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taocpp%2Ftuple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taocpp%2Ftuple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taocpp%2Ftuple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taocpp%2Ftuple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taocpp","download_url":"https://codeload.github.com/taocpp/tuple/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taocpp%2Ftuple/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30141313,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T16:58:46.102Z","status":"ssl_error","status_checked_at":"2026-03-05T16:58:45.706Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-13T16:19:23.641Z","updated_at":"2026-03-05T18:04:17.771Z","avatar_url":"https://github.com/taocpp.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Art of C++ / Tuple\n\n[![Release](https://img.shields.io/github/release/taocpp/tuple.svg)](https://github.com/taocpp/tuple/releases/latest)\n[![Conan Center](https://img.shields.io/conan/v/taocpp-tuple)](https://conan.io/center/recipes/taocpp-tuple)\n\n[The Art of C++](https://taocpp.github.io/) / Tuple is a C++11 header-only proof-of-concept implementation of\n[`std::tuple`](http://en.cppreference.com/w/cpp/utility/tuple).\n\n## Rationale\n\nWhy another implementation of `std::tuple`? To provide a proof-of-concept that,\nwhen avoiding recursion, code can benefit in significant ways. I prepared a talk\nabout it, including some benchmarks.\n\n[Download presentation](https://github.com/taocpp/tuple/blob/main/doc/variadic_templates.pdf)\n\nTL;DR: GCC 5 on Linux with libstdc++'s `std::tuple` requires 19.6s and an instantiation\ndepth of at least 3.719 to compile an\n[example](https://github.com/taocpp/tuple/blob/main/src/test/tuple/tuple_benchmark.cpp)\ngenerating a tuple with 265 elements via `std::tuple_cat`.\n`tao::tuple` requires 1.2s and an instantiation depth of 26 on the same system.\n\nApple LLVM 7.0 (~Clang 3.7) with libc++'s `std::tuple` requires 70s and an instantiation\ndepth of 514 to compile the example. `tao::tuple` requires 1.7s and an instantiation depth\nof 15 on the same system. This case does *not* change `std::integer_sequence` or\n`std::make_integer_sequence`, all improvements are coming from all the *other* improvements\nfrom avoiding recursion.\n\n## CUDA\n\n`tao::tuple` supports [CUDA](http://www.nvidia.com/object/cuda_home.html).\n\n## Compatibility\n\n* Requires C++11 or newer.\n* Tested with GCC 4.8+, Clang 3.4+, and Visual Studio 2017.\n\n## Package Managers\n\nYou can download and install [The Art of C++](https://taocpp.github.io/) / Tuple using the [Conan](https://github.com/conan-io/conan) package manager:\n\n    conan install -r conancenter --requires=\"taocpp-tuple/1.0.0\"\n\nThe taocpp-tuple package in conan is kept up to date by Conan team members and community contributors.\nIf the version is out-of-date, please [create an issue or pull request](https://github.com/conan-io/conan-center-index) on the Conan Center Index repository.\n\n## Changelog\n\n### 1.0.0\n\nReleased 2018-08-01\n\n* Initial release.\n\n## License\n\nThe Art of C++ is certified [Open Source](http://www.opensource.org/docs/definition.html) software. It may be used for any purpose, including commercial purposes, at absolutely no cost. It is distributed under the terms of the [MIT license](http://www.opensource.org/licenses/mit-license.html) reproduced here.\n\nSee the [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaocpp%2Ftuple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaocpp%2Ftuple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaocpp%2Ftuple/lists"}