ReactOS 0.4.16-dev-401-g45b008d
slice Class Reference

#include <_valarray.h>

Public Member Functions

 slice ()
 
 slice (size_t __start, size_t __length, size_t __stride)
 
size_t start () const
 
size_t size () const
 
size_t stride () const
 

Private Attributes

size_t _M_start
 
size_t _M_length
 
size_t _M_stride
 

Detailed Description

Definition at line 1076 of file _valarray.h.

Constructor & Destructor Documentation

◆ slice() [1/2]

slice::slice ( )
inline

Definition at line 1078 of file _valarray.h.

1078: _M_start(0), _M_length(0), _M_stride(0) {}
size_t _M_length
Definition: _valarray.h:1090
size_t _M_stride
Definition: _valarray.h:1091
size_t _M_start
Definition: _valarray.h:1089

◆ slice() [2/2]

slice::slice ( size_t  __start,
size_t  __length,
size_t  __stride 
)
inline

Definition at line 1079 of file _valarray.h.

1080 : _M_start(__start), _M_length(__length), _M_stride(__stride)
1081 {}

Member Function Documentation

◆ size()

size_t slice::size ( ) const
inline

Definition at line 1085 of file _valarray.h.

1085{ return _M_length; }

Referenced by valarray< _Tp >::operator=(), and valarray< _Tp >::operator[]().

◆ start()

size_t slice::start ( ) const
inline

Definition at line 1084 of file _valarray.h.

1084{ return _M_start; }

Referenced by valarray< _Tp >::operator=(), and valarray< _Tp >::operator[]().

◆ stride()

size_t slice::stride ( ) const
inline

Definition at line 1086 of file _valarray.h.

1086{ return _M_stride; }

Referenced by valarray< _Tp >::operator=(), and valarray< _Tp >::operator[]().

Member Data Documentation

◆ _M_length

size_t slice::_M_length
private

Definition at line 1090 of file _valarray.h.

◆ _M_start

size_t slice::_M_start
private

Definition at line 1089 of file _valarray.h.

◆ _M_stride

size_t slice::_M_stride
private

Definition at line 1091 of file _valarray.h.


The documentation for this class was generated from the following file: