Skip to content

Commit

Permalink
Merge pull request #159 from daixtrose/patch-1
Browse files Browse the repository at this point in the history
fix typo in code example
  • Loading branch information
krzysztof-jusiak authored Mar 27, 2024
2 parents 5bbb6c0 + 90245be commit 7e43784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tips/358.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ constexpr decltype(auto) nth(T0&& p0, Types&&... pack) noexcept
if constexpr (0 == Index)
return std::forward<T0>(p0);
else
return nth_value<Index-1>(std::forward<Types>(pack)...);
return nth<Index-1>(std::forward<Types>(pack)...);
}

consteval auto first(auto... ts) {
Expand Down

0 comments on commit 7e43784

Please sign in to comment.