Utility intended to help with situations when generic function had to return
its templated argument which could turn out to be a static array. In D1 that
would require slicing such argument as returning static array types is not
allowed. In D2, however, static arrays are value types and such slicing is
neither necessary nor memory-safe.
Utility intended to help with situations when generic function had to return its templated argument which could turn out to be a static array. In D1 that would require slicing such argument as returning static array types is not allowed. In D2, however, static arrays are value types and such slicing is neither necessary nor memory-safe.