From: Todd V. <tve...@ex...> - 1999-06-23 16:50:32
|
Hi Rob, there is currently no way to do this, unfortunately. I will put it on my TODO. Cheers, Todd > Is there a way to create an Array of a class that doesn't have a default > ctor? > > For example, if class X has the constructor X(const int i), but no > X(void), I'd like something similar to the STL ctor and resize for vector. > For example, > > Array<X, 1> a(10, X(2)); > > Array<X, 1> b; > b.resize(10, X(2)); > > Any ideas? > > Thanks, > > -Rob --------------------- blitz-support list -------------------------------- * To subscribe/unsubscribe: use the handy web form at http://oonumerics.org/blitz/lists.html |