https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72832
--- Comment #5 from Daan van Vugt <daanvanvugt at gmail dot com> --- Thanks for the quick responses. Just out of interest: what is the recommended way to allocate a class(t) variable of the same type as a but different size? Do I need to select type and list all of the types? that would be inconvenient.