Boost logo

Boost :

From: Kevlin Henney (Kevlin.Henney_at_[hidden])
Date: 2000-02-08 10:59:51

Miki Jovanovic wrote:
>OK, this brings me to my basic question... We all use 'const
>shared_ptr<class>&' as the parameter to methods for performance
>reasons. How do you pass parameters around, when you have several
>shared_ptr specialisations storing various classes in the hierarchy?

They get passed around by copy if they aren't exact type matches, so it's
already catered for.


Boost list run by bdawes at, gregod at, cpdaniel at, john at