• Jason Rhinelander's avatar
    Fix type alias initialization · 9c6859ee
    Jason Rhinelander authored
    Type alias for alias classes with members didn't work properly: space
    was only allocated for sizeof(type), but if we want to be able to put a
    type_alias instance there, we need sizeof(type_alias), but
    sizeof(type_alias) > sizeof(type) whenever type_alias has members.
    9c6859ee
test_issues.cpp 9.24 KB