You can use placement-new like this: class ... Add a static method to your class that builds an array:
stackoverflow.com