Need of universal reference
Hi When we declare a method which has T&& as argument where T is template type , it is called universal reference. With Universal reference, one can pass l value and r value as argument to a method. But it always looses r value reference and considered as l value reference for sub sequent call. This can be avoided by perfect forward. However, it is not at all necessary if we directly have two methods one for lvalue and one for r value reference. Question is that why to use universal reference and then keep in mind about perfect forwarding? Can we directly not have two different methods each for r and l value reference? Is there any benefit or use case of universal reference?