|
|
|
|
|
by ytugiuyghvk
3431 days ago
|
|
If you want to template on an r-value reference, the easiest way is probably to use a forwarding reference and disable the template if the template parameter deduces to a reference template <class T, class = enable_if_t<!is_reference<T>::value>>
auto f(T&& x);
|
|