mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
fix stray ellipsis (#2091)
This commit is contained in:
parent
1634e898b6
commit
db079ab301
|
@ -3152,7 +3152,7 @@ Usually you forward the entire parameter (or parameter pack, using `...`) exactl
|
|||
Sometimes you may forward a composite parameter piecewise, each subobject once on every static control flow path:
|
||||
|
||||
template<class PairLike>
|
||||
inline auto test(PairLike&&... pairlike)
|
||||
inline auto test(PairLike&& pairlike)
|
||||
{
|
||||
// ...
|
||||
f1(some, args, and, forward<PairLike>(pairlike).first); // forward .first
|
||||
|
|
Loading…
Reference in New Issue
Block a user