C++11: Cleaned up program framework with range-based for

This commit is contained in:
Paul Beckingham 2015-05-11 17:50:53 -04:00
parent 5a57dfd70d
commit e74c6963a9
28 changed files with 937 additions and 1221 deletions

View file

@ -49,8 +49,8 @@ public:
void ambiguity (bool);
void debug (bool);
static void getOperators (std::vector <std::string>&);
static void getBinaryOperators (std::vector <std::string>&);
static std::vector <std::string> getOperators ();
static std::vector <std::string> getBinaryOperators ();
private:
void evaluatePostfixStack (const std::vector <std::pair <std::string, Lexer::Type>>&, Variant&) const;