@@ -1087,7 +1087,7 @@ public:
1087
1087
Returns: static array of lengths
1088
1088
See_also: $(LREF .Slice.structure)
1089
1089
+/
1090
- size_t [N] shape ()() @trusted @property const scope
1090
+ size_t [N] shape ()() @trusted @property const
1091
1091
{
1092
1092
return _lengths[0 .. N];
1093
1093
}
@@ -1114,7 +1114,7 @@ public:
1114
1114
Returns: static array of lengths
1115
1115
See_also: $(LREF .Slice.structure)
1116
1116
+/
1117
- ptrdiff_t [N] strides ()() @trusted @property const scope
1117
+ ptrdiff_t [N] strides ()() @trusted @property const
1118
1118
{
1119
1119
static if (N <= S)
1120
1120
return _strides[0 .. N];
@@ -1321,15 +1321,15 @@ public:
1321
1321
/+ +
1322
1322
Multidimensional input range primitive.
1323
1323
+/
1324
- bool empty (size_t dimension = 0 )() @safe @property const scope
1324
+ bool empty (size_t dimension = 0 )() @safe @property const
1325
1325
if (dimension < N)
1326
1326
{
1327
1327
return _lengths[dimension] == 0 ;
1328
1328
}
1329
1329
1330
1330
// /ditto
1331
1331
static if (N == 1 )
1332
- auto ref Element! dimension front (size_t dimension = 0 )() @trusted @property scope return
1332
+ auto ref Element! dimension front (size_t dimension = 0 )() @trusted @property
1333
1333
if (dimension < N)
1334
1334
{
1335
1335
assert (! empty! dimension);
@@ -1605,7 +1605,7 @@ public:
1605
1605
/+
1606
1606
Returns: `true` if for any dimension of completely unpacked slice the length equals to `0`, and `false` otherwise.
1607
1607
+/
1608
- private bool anyRUEmpty ()() @trusted const scope
1608
+ private bool anyRUEmpty ()() @trusted const
1609
1609
{
1610
1610
static if (isInstanceOf! (SliceIterator, Iterator))
1611
1611
{
@@ -1620,7 +1620,7 @@ public:
1620
1620
/+ +
1621
1621
Returns: `true` if for any dimension the length equals to `0`, and `false` otherwise.
1622
1622
+/
1623
- bool anyEmpty ()() @trusted const scope
1623
+ bool anyEmpty ()() @trusted const
1624
1624
{
1625
1625
return _lengths[0 .. N].anyEmptyShape;
1626
1626
}
0 commit comments