Skip to content

Commit

Permalink
Update pack_type
Browse files Browse the repository at this point in the history
  • Loading branch information
seanbaxter committed Aug 1, 2019
1 parent 8a1dda4 commit 2be8ad1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packs/pack.md
Expand Up @@ -412,7 +412,7 @@ int main() {
@meta types.erase(std::unique(types.begin(), types.end()), types.end());

// Instantiate foo_t on the unique types.
foo_t<@pack_type(types.data(), types.size())...> foo;
foo_t<@pack_type(types)...> foo;

return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion packs/pack_type.cxx
Expand Up @@ -30,7 +30,7 @@ int main() {
@meta types.erase(std::unique(types.begin(), types.end()), types.end());

// Instantiate foo_t on the unique types.
foo_t<@pack_type(types.data(), types.size())...> foo;
foo_t<@pack_type(types)...> foo;

return 0;
}

0 comments on commit 2be8ad1

Please sign in to comment.