Hello, Kirpa V. A, you wrote:
> boost:: scoped_array <double> ar (new double [size]);
> std:: vector <double> ar (size);
> What for to make a fuss when in STL vector solves the task and has more
> the advanced functional
> I do not object on transfer of a topic to sacred wars but it would be desirable argued
I consider that no significant advantages are present. As well as scope_ptr it is better nothing const auto_ptr (and even there is one lack: scope_ptr all the same can lose possession by means of swap). Arguments about clearness scope_ptr to me doubtful taking into account that propagation which has auto_ptr.
Though it has essential practical value (since is shared_ptr), all one application I see - it is possible to write scoped_array <auto_ptr <>>. For vector basically too it is possible if precisely to know that the size not to increase, but it is dangerous to attending.