is it at all possible in a reasonable way without hacks to define the size of an object array in a class without making the array size static. eg.
class Byte_Buffer
{
Byte_Buffer(uint16_t bs) : buf_size(bs) {}
const uint16_t buf_size;
uint8_t storage[ buf_size ];
};