|
Ublas : |
From: Georg Baum (Georg.Baum_at_[hidden])
Date: 2005-08-29 02:05:16
Am Freitag, 26. August 2005 20:17 schrieb Michael Stevens:
> On Friday 26 August 2005 18:41, Georg Baum wrote:
> > What is wrong with
> >
> > pointer data = 0;
> >
> > instead of
> >
> > pointer data;
> >
> > ? I understand that the current code is safe, but a library should be
> > compilable without such warnings.
>
> The only problem is it is less efficient. It would be nasty to make
> unbounded_array less efficient because of this warning.
I would have thought that it did not make much of a difference, but of course
others possibly use resize more often than I do.
Please state in the documentation that this warning will occur and that it is
harmless.
Georg