|
Ublas : |
From: Neal Becker (ndbecker2_at_[hidden])
Date: 2006-06-21 13:36:18
Glad to see array_adaptor is back, I'll have to try it out.
I also noticed shallow_array_adaptor. I'm trying to understand it.
I see
shallow_array_adaptor (size_type size, pointer data):
size_ (size), own_ (false), data_ (data, leaker<value_type> ()) {}
I believe this is setting a noop deleter?
I think it would be useful to add a constructor
shallow_array_adaptor (size_type size, shared_array<..> data)