Type trait that sums values of several integral constant types
From several integral constants, it is possible to define a trait Sum
that returns the sum of all constants. For instance, we can define the following:
From several integral constants, it is possible to define a trait Sum
that returns the sum of all constants. For instance, we can define the following: