newlawrence / Calculate

Math Expressions Parser Engine
MIT License
34 stars 7 forks source link

feature/iterables #82

Closed newlawrence closed 6 years ago

newlawrence commented 6 years ago

This pull request make all the API methods that accepted variadic arguments or arguments wrapped inside a vector to abstract the underlying container of the arguments. Any C++ container that follows the STL of begin and end iterators can be used with the aforementioned methods:

The containers are forward traversed from begin to end due to the importance of the position of the arguments in the expressions evaluation. These methods can also be called outside any container as variadic arguments of their respective type.