Re: Policy-oriented programming.
Thanks! This is exactly what i wanted! Seems like the problem of not being able to pass struct template parameters can be worked around by putting the struct attribute access in a mixin.
Policy-oriented programming.
Hi, D.learn! I encountered a problem, while i was designing a fast, performance-critical image storage mechanism. Here's what i want to do: Have a FragmentTraits struct, which contains fields, like number of components, size in bytes of the components, padding of the components in bytes, etc.