Library Idea
[TypeSort] Automatic type sorting


by cglynos


Is there any interest in a library which automatically sorts types from smallest to largest at compile time?

The benefit would be the automatic Data Structure Alignment and potential improvement in performance.

Foo foo_1; //normal
Foo foo_2; //using the TypeSort
output:
size of foo_1 = 48
size of foo_2 = 32


There are 0 comments

Comment on This Page