8 ms·
Obviously the correct way is to accept a templated type and use perfect forwarding. /s /s /s /s /s
by a_t48 2y ago
Obviously the correct way is to accept a templated type and use perfect forwarding. /s /s /s /s /s
- worstspotgain 2y agoBonus points for using static_cast<T &&>(p) instead of std::forward<T>(p) ;)