Aprepro 5.0x
Loading...
Searching...
No Matches
SEAMS::Parser::stack< T, S >::slice Class Reference

Present a slice of the top of a stack. More...

#include <aprepro_parser.h>

Collaboration diagram for SEAMS::Parser::stack< T, S >::slice:

Public Member Functions

 slice (const stack &stack, index_type range) YY_NOEXCEPT
 
const T & operator[] (index_type i) const
 

Private Attributes

const stackstack_
 
index_type range_
 

Detailed Description

template<typename T, typename S = std::vector<T>>
class SEAMS::Parser::stack< T, S >::slice

Present a slice of the top of a stack.

Constructor & Destructor Documentation

◆ slice()

template<typename T , typename S = std::vector<T>>
SEAMS::Parser::stack< T, S >::slice::slice ( const stack & stack,
index_type range )
inline

Member Function Documentation

◆ operator[]()

template<typename T , typename S = std::vector<T>>
const T & SEAMS::Parser::stack< T, S >::slice::operator[] ( index_type i) const
inline

Member Data Documentation

◆ range_

template<typename T , typename S = std::vector<T>>
index_type SEAMS::Parser::stack< T, S >::slice::range_
private

◆ stack_

template<typename T , typename S = std::vector<T>>
const stack& SEAMS::Parser::stack< T, S >::slice::stack_
private

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