Files
cppdraft_translate/cppdraft/gslice/cons.md
2025-10-25 03:02:53 +03:00

769 B

[gslice.cons]

29 Numerics library [numerics]

29.6 Numeric arrays [numarray]

29.6.6 The gslice class [class.gslice]

29.6.6.2 Constructors [gslice.cons]

🔗

gslice(); gslice(size_t start, const valarray<size_t>& lengths, const valarray<size_t>& strides);

1

#

The default constructor is equivalent togslice(0, valarray<size_t>(), valarray<size_t>()).

The constructor with arguments builds agslice based on a specification of start, lengths, and strides, as explained in the previous subclause.