|
Boost Users : |
From: yinglcs2_at_[hidden]
Date: 2006-01-11 02:14:20
In Java, I can create an array based on the value of
an input parameter of a function:
int[] func (int size) {
int[] rtn = new int[size];
// do something
return rtn;
}
Can you please tell me if I can do the same with the
Boost.Array library?
>From the example I see, I can only declare the size of
the array during declaration (not dynamically, the rhs
in my example).
If I can't do that with Boost.Array, is there any
other solution?
Thank you.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net