Boost logo

Boost :

From: Daniel Frey (daniel.frey_at_[hidden])
Date: 2003-01-14 10:12:00


Peter Dimov wrote:
>
> I'm thinking of renaming make_shared(weak_ptr), as the current similarity
> with make_pair is undesirable. The best replacement I can come up with is

I fail to see the problem. The similarity is IMHO helpful, as both
deduce the type to generate from their parameters.

> get_shared_ptr. I.e. instead of

'get' implies (at least to me), that it only fetches a pointer/reference
to something which already exists. The function in questions constructs
the shared_ptr, so 'get' would be misleading. YMMV. :))

Regards, Daniel

-- 
Daniel Frey
aixigo AG - financial training, research and technology
Schloß-Rahe-Straße 15, 52072 Aachen, Germany
fon: +49 (0)241 936737-42, fax: +49 (0)241 936737-99
eMail: daniel.frey_at_[hidden], web: http://www.aixigo.de

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk