Typedef static inheritance