Hi,
I want to be able to write:
class foo
{
std::vector<intm_i (64);
}
which creates a vector, that constructs with size=64;
Is there a std:: way to sdo this, or must I make a template class
like:
template class<type T, int fixsizemyvec:public std::vector<T>
{
myvec() : std::vector<T>(fixsize) {}
};
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}
________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com