R
.rhavin grobert
are there any pro's and con's in using references to shared_ptr<>'s ?
example:
__________________________________________________
void obj::foo(shared_ptr<>); vs. void obj::foo(shared_ptr<>&);
and
shared_ptr<>& obj::foo2(); vs. shared_ptr<> obj::foo2();
__________________________________________________
....?
TIA, ~.rhavin
example:
__________________________________________________
void obj::foo(shared_ptr<>); vs. void obj::foo(shared_ptr<>&);
and
shared_ptr<>& obj::foo2(); vs. shared_ptr<> obj::foo2();
__________________________________________________
....?
TIA, ~.rhavin