On Monday 03 August 2015 21:58:29 ak. ashwini1981 wrote: > Intention is to have an out parameter in the function. The parameter is a > vector. I am passing this by reference. Pushing objects to vector are not > reflecting at the calling point.
The compiler optimises better when you return everything in the return type. Please consider making a struct with all your types instead of an out parameter. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
