Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up auto_tuple, make it slightly more efficient
By avoiding the use of a base type and switching to a templated ctor, we make it possible to initialize tuple members with single arguments directly in place rather than constructing a temporary that will requiring moving. Assure this new efficiency going forward with a new test in TupleTest.
- Loading branch information
1 parent
2c4ad8d
commit c378b07
Showing
2 changed files
with
157 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters