Hacker News new | ask | show | jobs
by a_t48 707 days ago
Obviously the correct way is to accept a templated type and use perfect forwarding. /s /s /s /s /s
1 comments

Bonus points for using static_cast<T &&>(p) instead of std::forward<T>(p) ;)