Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
a_t48
1y ago
0 comments
Share
Obviously the correct way is to accept a templated type and use perfect forwarding. /s /s /s /s /s
0 comments
default
newest
oldest
worstspotgain
1y ago
Bonus points for using static_cast<T &&>(p) instead of std::forward<T>(p) ;)
j
/
k
navigate · click thread line to collapse