Boost logo

Boost :

From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2003-06-25 19:19:13


Daryle Walker wrote:
> On Tuesday, June 24, 2003, at 8:12 PM, Stefan Seefeld wrote:
>
> [SNIP]
>
>> As the wrapper objects have reference semantics, I append '_ptr' to
>> their name to stress that fact. A practical side-effect of this is
>
> [TRUNCATE]
>
> Shouldn't the type names use a suffix of "_ref" instead? (I don't need
> to know that they're [possibly] implemented as pointers.)

it seems 'pointer' has for you a very precise (C/C++) meaning.
I just used _ptr the same way it is used in CORBA (i.e. the C++
mapping), where it doesn't imply anything about the implementation.

I believe _ptr and _ref are fairly equivalent.

Regards,
                Stefan


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