ifstream in("foobar.gar");
in >> a2;
- lst syms;
- syms = x, y;
+ lst syms = {x, y};
ex ex1 = a2.unarchive_ex(syms, "foo");
ex ex2 = a2.unarchive_ex(syms, "the second one");
GINAC_DECLARE_REGISTERED_CLASS(mystring, basic)
public:
mystring(const string &s);
- ex eval(int level) const override;
+ ex eval() const override;
private:
string str;
* evaluation: all strings automatically converted to lowercase with
* non-alphabetic characters stripped, and empty strings removed
*/
-ex mystring::eval(int level) const
+ex mystring::eval() const
{
string new_str;
for (size_t i=0; i<str.length(); i++) {