Tool Libs
UMIT-TIROL Institute of Automation and Control Engineering library collection
 
Loading...
Searching...
No Matches
Slice< T > Struct Template Reference

slice of existing Buffer. More...

#include <slice.h>

Public Member Functions

T & operator[] (size_t ix) const
 access into known size of buffer
 
T * begin () const
 begin method for range-based for loops
 
T * end () const
 end method for range-based for loops
 
 ~Slice ()
 destructor
 

Public Attributes

const Buffer< T > * buf
 pointer to owning Buffer
 
size_t len
 number of items in slice
 

Detailed Description

template<typename T>
struct Slice< T >

slice of existing Buffer.

Does NOT own, is view


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