17 Jul
2008
17 Jul
'08
10:31 p.m.
Dear Alexei, Alexei Sheplyakov wrote:
So, e1 == e2 definitely creates the `relational' object. But it seems to give correct results anyway. I don't quite understand what's going on.
Initially, class relational had an operator bool(), which evaluated to true or false when such an object was used in a boolean context. With GiNaC-1.1.0, that was replaced by operator safe_bool(), a technique inspired by Boost. Best wishes -richy. -- Richard B. Kreckel <http://www.ginac.de/~kreckel/>