J
junger
If a member object is static, is it possible to initialize it with
function calls? E.g., if I want my class to contain a static vector
filled with other static objects, can I fill this vector statically
without having tyo make a function call? Right now I'm using an array
because I can specify an array's exact contents statically, but it
seems stupid to have to use an array.
Thank you.
function calls? E.g., if I want my class to contain a static vector
filled with other static objects, can I fill this vector statically
without having tyo make a function call? Right now I'm using an array
because I can specify an array's exact contents statically, but it
seems stupid to have to use an array.
Thank you.