Skip to content
Snippets Groups Projects

Feature/add integersequenceentry

Merged Carsten Gräser requested to merge feature/add-integersequenceentry into master

The traits class IntegerSequenceEntry computes the i-th entry of an std::integer_sequence. The integerSequenceEntry helper function does the same with function syntax.

This allows to avoid the hight template instantiation depth of std::make_tuple when using the "natural" implementation

std::get<index>(std::make_tuple(t...));

The latter adds 15 instantiation levels per argument whereas the still recursive implementation in this MR adds only one.

Merge request reports

Pipeline #1200 passed

Pipeline passed for 3048dbb6 on feature/add-integersequenceentry

Approval is optional
Ready to merge by members who can write to the target branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading