Calculator
Extensible stack-based calculator primarily in library form
Stack.h File Reference
#include "Result.h"
Include dependency graph for Stack.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Calculator::StackIterator
 Iterator over a Stack from top to bottom. More...
 
class  Calculator::Stack
 Stack of values to process from. More...
 

Namespaces

 Calculator
 Container of Calculator resources.
 

Functions

StackIterator & Calculator::operator>> (StackIterator &iter, StackIterator::Hint hint)
 Set the iter's hint and return the iter. More...
 
StackIterator & Calculator::operator>> (StackIterator &iter, std::shared_ptr< StackItem > &t)
 Set t to *iter and return iter. More...
 
template<typename T >
StackIterator & Calculator::operator>> (StackIterator &iter, T &t)
 Convenience function to read the current value of iter by the template as() (respecting the current hint) and set to t. More...