|
Boost : |
From: jhrwalter (walter_at_[hidden])
Date: 2002-01-19 10:23:07
--- In boost_at_y..., Kresimir Fresl <fresl_at_g...> wrote:
>
> jhrwalter wrote:
>
> > Kresimir Fresl <fresl_at_g...> wrote:
>
> >>Why ublas uses `non-standard' names `reference_type', [...]
> >>instead of almost standard `reference', [...] ?
>
> > To differentiate types and variables ;-) It's time to change them
to
> > standard conforming names.
>
>
> Do you plan to do this soon?
>
> I can try,
This would be very helpful, because I could change it on our
(internal) development branch independently.
> but it seems that this is not simple `search and replace'
> -- eg. `range' and `slice' define both `const_iterator_type' and
> `const_iterator'; and both are (nested) types. Maybe you can give me
> some hints ;0) ?
It doesn't seem necessary to change the iterator type names (I hope
at least). The major change as far as I see is replacing (const_)
reference_type with (const_)reference and (const_)pointer_type with
(const_)pointer. This should work with simple 'search and replace'.
(const_)iterator_type identifies usually other internally used
iterators. Externally usable types should always be const_iterator
and iterator already.
TIA and regards
Joerg
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk