On 8/6/18 2:59 PM, vit wrote:struct ExprImpl(Ts...){ enum N = max(staticMap!(sizeOf, Ts));This is clever!
No need to be clever though - we've got std.traits.Largest for exactly this kind of purpose.
-- Simen
On 8/6/18 2:59 PM, vit wrote:struct ExprImpl(Ts...){ enum N = max(staticMap!(sizeOf, Ts));This is clever!
No need to be clever though - we've got std.traits.Largest for exactly this kind of purpose.
-- Simen